Skip to content

Commit 3d8d070

Browse files
authored
fix(run): disable watch when using run with --bundle (#2438)
1 parent cb52a5e commit 3d8d070

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/commands/run.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@ export class RunCommandBase {
55

66
public executeCore(args: string[]): IFuture<void> {
77
this.$platformService.deployPlatform(args[0]).wait();
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
}
11-
return this.$usbLiveSyncService.liveSync(args[0]);
16+
17+
return this.$usbLiveSyncService.liveSync(args[0]);
1218
}
1319
}
1420

0 commit comments

Comments
 (0)