sail
sail copied to clipboard
Why does cmd + r rebuild the container?
I was trying to reload the browser to get an extension to work (go tools). It rebuilt the container, so I now have to install them again. Just curious what the thought process was when implementing that.
cc @nhooyr
Ah that is unfortunate. I thought cmd+r was the most appropriate shortcut because it is usually used to mean "rebuild" but I didn't realize it conflicts with the browser. Will fix this by adding alt to the keybind.
Yea, guess alt would be the best. Thanks 😊
Wanted to make a PR for this, but it seems that if you change the key binding to Ctrl+Alt+R (via sail.js) it doesn't work in Firefox (works in Chromium, however). Upon further inspection, it looks like Alt just doesn't work in code-server in Firefox, so maybe we should pick a different keybind.
Made a bug report on code-server for Alt not working: https://github.com/cdr/code-server/issues/749