Merge pull request #238 from fahmmin/fix/dev-runner-windows-spawn
fix(scripts): use shell on Windows to fix spawn EINVAL in dev-runner
This commit is contained in:
commit
c674462a02
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ const serverScript = mode === "watch" ? "dev:watch" : "dev";
|
|||
const child = spawn(
|
||||
pnpmBin,
|
||||
["--filter", "@paperclipai/server", serverScript, ...forwardedArgs],
|
||||
{ stdio: "inherit", env },
|
||||
{ stdio: "inherit", env, shell: process.platform === "win32" },
|
||||
);
|
||||
|
||||
child.on("exit", (code, signal) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue