Skip to content

Commit 4b653c6

Browse files
committed
fix: fix run with --justlaunch
1 parent 6a28d8f commit 4b653c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/controllers/prepare-controller.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ export class PrepareController extends EventEmitter {
4242
result = await this.startWatchersWithPrepare(platformData, projectData, prepareData);
4343
} else {
4444
await this.$webpackCompilerService.compileWithoutWatch(platformData, projectData, prepareData);
45-
await this.$prepareNativePlatformService.prepareNativePlatform(platformData, projectData, prepareData);
45+
const hasNativeChanges = await this.$prepareNativePlatformService.prepareNativePlatform(platformData, projectData, prepareData);
46+
result = { hasNativeChanges, platform: prepareData.platform.toLowerCase() };
4647
}
4748

4849
this.$projectChangesService.savePrepareInfo(platformData);

0 commit comments

Comments
 (0)