Compiling and running compiled version with node . opens up a new VSCode Window #6994
-
Hi, im running the project within a devcontainer.
So I run: And right after that it opens a new VSCode Window (of my local VSCode IDE) instead, and the server doesn't start. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Is this inside VS Code's integrated terminal? When inside the integrated terminal code-server always tries to open a file in the existing code-server instance. It does this by looking for the
|
Beta Was this translation helpful? Give feedback.
-
Thank you so much for the insight! that worked 👌 |
Beta Was this translation helpful? Give feedback.
Is this inside VS Code's integrated terminal? When inside the integrated terminal code-server always tries to open a file in the existing code-server instance. It does this by looking for the
VSCODE_IPC_HOOK_CLI
environment variable, so one way to get this to work is to unset it: