We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9790a22 commit 11fc940Copy full SHA for 11fc940
ci/dev/watch.ts
@@ -31,7 +31,9 @@ class Watcher {
31
this.webServer.kill()
32
}
33
34
- this.webServer = fork(path.join(this.rootPath, "out/node/entry.js"), process.argv.slice(2))
+ // Pass CLI args, save for `node` and the initial script name.
35
+ const args = process.argv.slice(2)
36
+ this.webServer = fork(path.join(this.rootPath, "out/node/entry.js"), args)
37
const { pid } = this.webServer
38
39
this.webServer.on("exit", () => console.log("[Code Server]", `Web process ${pid} exited`))
0 commit comments