From a149c5fc608a206adaa90e2b4568ae61d290ce79 Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 5 Feb 2020 14:48:15 -0600 Subject: [PATCH] Pass arguments to code-server during watch --- scripts/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.ts b/scripts/build.ts index 1977285d..7fe98016 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -330,7 +330,7 @@ class Builder { if (server) { server.kill() } - const s = cp.fork(path.join(this.rootPath, "out/node/entry.js")) + const s = cp.fork(path.join(this.rootPath, "out/node/entry.js"), process.argv.slice(2)) console.log(`[server] spawned process ${s.pid}`) s.on("exit", () => console.log(`[server] process ${s.pid} exited`)) server = s