Skip to content

Commit a149c5f

Browse files
committed
Pass arguments to code-server during watch
1 parent 6e809b6 commit a149c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ class Builder {
330330
if (server) {
331331
server.kill()
332332
}
333-
const s = cp.fork(path.join(this.rootPath, "out/node/entry.js"))
333+
const s = cp.fork(path.join(this.rootPath, "out/node/entry.js"), process.argv.slice(2))
334334
console.log(`[server] spawned process ${s.pid}`)
335335
s.on("exit", () => console.log(`[server] process ${s.pid} exited`))
336336
server = s

0 commit comments

Comments
 (0)