Skip to content

Commit 26c06c5

Browse files
authored
fix(run): disable watch when using run with --bundle (#2438) (#2439)
1 parent 9157ebb commit 26c06c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/commands/run.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ export class RunCommandBase {
55

66
public async executeCore(args: string[]): Promise<void> {
77
await this.$platformService.deployPlatform(args[0]);
8+
9+
if (this.$options.bundle) {
10+
this.$options.watch = false;
11+
}
12+
813
if (this.$options.release) {
914
return this.$platformService.runPlatform(args[0]);
1015
}
16+
1117
return this.$usbLiveSyncService.liveSync(args[0]);
1218
}
1319
}

0 commit comments

Comments
 (0)