diff --git a/src/ipc/handlers/app_handlers.ts b/src/ipc/handlers/app_handlers.ts index 977f0b8..cd18bfd 100644 --- a/src/ipc/handlers/app_handlers.ts +++ b/src/ipc/handlers/app_handlers.ts @@ -65,7 +65,7 @@ async function executeAppLocalNode({ appId: number; event: Electron.IpcMainInvokeEvent; }): Promise { - const process = spawn("pnpm install && pnpm run dev -- --port 32100", [], { + const process = spawn("pnpm install && pnpm run dev --port 32100", [], { cwd: appPath, shell: true, stdio: "pipe", // Ensure stdio is piped so we can capture output/errors and detect close