We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08685ca commit c4ffcf5Copy full SHA for c4ffcf5
lib/services/bundler/bundler-compiler-service.ts
@@ -453,7 +453,7 @@ export class BundlerCompilerService
453
const envParams = isVite
454
? [
455
`--mode=${prepareData.release ? "production" : "development"}`,
456
- `--watch`,
+ ...(prepareData.watch ? [`--watch`] : []),
457
"--",
458
...cliArgs,
459
]
@@ -483,7 +483,7 @@ export class BundlerCompilerService
483
}
484
485
486
- const stdio = prepareData.watch || isVite ? ["ipc"] : "inherit";
+ const stdio = prepareData.watch ? ["ipc"] : "inherit";
487
const options: { [key: string]: any } = {
488
cwd: projectData.projectDir,
489
stdio,
0 commit comments