Skip to content

Commit 75c8bd6

Browse files
committed
Fix forking in binary
1 parent d9fc29f commit 75c8bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/vscode/bootstrapFork.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const forkModule = (modulePath: string, args: string[], options: cp.ForkO
141141
stdio: [null, null, null, "ipc"],
142142
};
143143
if (isCli) {
144-
proc = cp.spawn(process.execPath, forkArgs, options);
144+
proc = cp.spawn(process.execPath, forkArgs, forkOptions);
145145
} else {
146146
proc = cp.spawn(process.execPath, ["--require", "ts-node/register", "--require", "tsconfig-paths/register", process.argv[1], ...forkArgs], forkOptions);
147147
}

0 commit comments

Comments
 (0)