diff --git a/lib/commands/run.ts b/lib/commands/run.ts index d9ddb79c1a..17ece86524 100644 --- a/lib/commands/run.ts +++ b/lib/commands/run.ts @@ -97,10 +97,13 @@ export class RunCommandBase implements ICommand { const runPlatformOptions: IRunPlatformOptions = { device: this.$options.device, emulator: this.$options.emulator, - justlaunch: this.$options.justlaunch, + justlaunch: this.$options.justlaunch }; - const deployOptions = _.merge({ projectDir: this.$projectData.projectDir, clean: true }, this.$options); + const deployOptions = _.merge({ + projectDir: this.$projectData.projectDir, + clean: true, + }, this.$options.argv); await this.$platformService.deployPlatform(args[0], this.$options, deployOptions, this.$projectData, this.$options); await this.$platformService.startApplication(args[0], runPlatformOptions, this.$projectData.projectId);