coder / sail

Deprecated: Instant, pre-configured VS Code development environments.

Home Page:https://sail.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why does cmd + r rebuild the container?

teddy-codes opened this issue · comments

commented

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.

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.

commented

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: coder/code-server#749