From aa36986771572538f1cae2a5b5ce4d4d18cd8009 Mon Sep 17 00:00:00 2001 From: Will Chen Date: Fri, 18 Apr 2025 10:29:56 -0700 Subject: [PATCH] fix pnpm command --- src/ipc/handlers/app_handlers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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