diff --git a/lib/commands/run.ts b/lib/commands/run.ts index 1ad8b9b5fc..ed07ec90e6 100644 --- a/lib/commands/run.ts +++ b/lib/commands/run.ts @@ -5,9 +5,15 @@ export class RunCommandBase { public async executeCore(args: string[]): Promise { await this.$platformService.deployPlatform(args[0]); + + if (this.$options.bundle) { + this.$options.watch = false; + } + if (this.$options.release) { return this.$platformService.runPlatform(args[0]); } + return this.$usbLiveSyncService.liveSync(args[0]); } }