You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you running it inside code-server's terminal? If you run it outside of code-server it'll just launch another instance. I think it'd be worth figuring out how to make this work in an external terminal too though.
If you run it inside code-server's terminal and it still doesn't work (or if you're already running it in code-server's terminal) then could you run printenv VSCODE_IPC_HOOK_CLI and see if it outputs anything for you?
Ahh, for whatever reason it wasn't set inside my tmux session, but it's working now, thanks for your help!
Would be good to be able to do it from an external terminal as well though :)
nhooyr
changed the title
code-server <file> attempts to start another instance of code-server
Allow opening files in existing code-server instance from a terminal outside code-server
Sep 1, 2020
running code-server attempts to start another instance of code-server instead of opening the file
Web Browser: Chrome
Local OS: Arch Linux
Remote OS: OSX
Remote Architecture: x86_64
code-server --version: 3.5.0
The text was updated successfully, but these errors were encountered: