From c4ffcf58ea444bed62af2474403c1f7b057dde56 Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Sat, 3 Jan 2026 21:17:22 -0800 Subject: [PATCH] fix: vite build and prepare --- lib/services/bundler/bundler-compiler-service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/bundler/bundler-compiler-service.ts b/lib/services/bundler/bundler-compiler-service.ts index e090e94079..91ddad3fe0 100644 --- a/lib/services/bundler/bundler-compiler-service.ts +++ b/lib/services/bundler/bundler-compiler-service.ts @@ -453,7 +453,7 @@ export class BundlerCompilerService const envParams = isVite ? [ `--mode=${prepareData.release ? "production" : "development"}`, - `--watch`, + ...(prepareData.watch ? [`--watch`] : []), "--", ...cliArgs, ] @@ -483,7 +483,7 @@ export class BundlerCompilerService } } - const stdio = prepareData.watch || isVite ? ["ipc"] : "inherit"; + const stdio = prepareData.watch ? ["ipc"] : "inherit"; const options: { [key: string]: any } = { cwd: projectData.projectDir, stdio,