diff --git a/lib/commands/run.ts b/lib/commands/run.ts index fe8edb7409..326922ed36 100644 --- a/lib/commands/run.ts +++ b/lib/commands/run.ts @@ -5,10 +5,16 @@ export class RunCommandBase { public executeCore(args: string[]): IFuture { this.$platformService.deployPlatform(args[0]).wait(); + + if (this.$options.bundle) { + this.$options.watch = false; + } + if (this.$options.release) { return this.$platformService.runPlatform(args[0]); } - return this.$usbLiveSyncService.liveSync(args[0]); + + return this.$usbLiveSyncService.liveSync(args[0]); } }