Skip to content

Commit 1ca0cf2

Browse files
authored
Merge pull request #4678 from NativeScript/fatme/fix-justlaunch
fix: fix run with --justlaunch
2 parents 6a28d8f + 4b653c6 commit 1ca0cf2

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)