Skip to content
\n

So I run:
\nnode . .

\n

And right after that it opens a new VSCode Window (of my local VSCode IDE) instead, and the server doesn't start.
\nAny ideas?

\n

Thanks!

","upvoteCount":1,"answerCount":2,"acceptedAnswer":{"@type":"Answer","text":"

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:

\n
VSCODE_IPC_HOOK_CLI= node . --auth none\n
","upvoteCount":1,"url":"https://github.com/coder/code-server/discussions/6994#discussioncomment-10606018"}}}

Compiling and running compiled version with node . opens up a new VSCode Window #6994

Closed Answered by code-asher
sevetseh28 asked this question in Q&A
Discussion options

You must be logged in to vote

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:

VSCODE_IPC_HOOK_CLI= node . --auth none

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sevetseh28
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants