From 4b653c60f9cf973d37c74ed419517c593a80bede Mon Sep 17 00:00:00 2001 From: fatme Date: Wed, 5 Jun 2019 08:34:59 +0300 Subject: [PATCH] fix: fix run with --justlaunch --- lib/controllers/prepare-controller.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/controllers/prepare-controller.ts b/lib/controllers/prepare-controller.ts index 79b533bf81..e7d16fc9e1 100644 --- a/lib/controllers/prepare-controller.ts +++ b/lib/controllers/prepare-controller.ts @@ -42,7 +42,8 @@ export class PrepareController extends EventEmitter { result = await this.startWatchersWithPrepare(platformData, projectData, prepareData); } else { await this.$webpackCompilerService.compileWithoutWatch(platformData, projectData, prepareData); - await this.$prepareNativePlatformService.prepareNativePlatform(platformData, projectData, prepareData); + const hasNativeChanges = await this.$prepareNativePlatformService.prepareNativePlatform(platformData, projectData, prepareData); + result = { hasNativeChanges, platform: prepareData.platform.toLowerCase() }; } this.$projectChangesService.savePrepareInfo(platformData);