diff --git a/lib/services/livesync/livesync-service.ts b/lib/services/livesync/livesync-service.ts index acddceefd6..61d12f4fa9 100644 --- a/lib/services/livesync/livesync-service.ts +++ b/lib/services/livesync/livesync-service.ts @@ -44,9 +44,9 @@ class LiveSyncService implements ILiveSyncService { } public async liveSync(platform: string, projectData: IProjectData, applicationReloadAction?: (deviceAppData: Mobile.IDeviceAppData) => Promise): Promise { - if (this.$options.justlaunch) { - this.$options.watch = false; - } + if (this.$options.justlaunch) { + this.$options.watch = false; + } let liveSyncData: ILiveSyncData[] = []; if (platform) { diff --git a/lib/services/platform-service.ts b/lib/services/platform-service.ts index 8b807f1c15..60734e6d30 100644 --- a/lib/services/platform-service.ts +++ b/lib/services/platform-service.ts @@ -225,7 +225,7 @@ export class PlatformService extends EventEmitter implements IPlatformService { } } - await this.preparePlatformCore(platform, appFilesUpdaterOptions, projectData, platformSpecificData); + await this.preparePlatformCore(platform, appFilesUpdaterOptions, projectData, platformSpecificData, changesInfo); this.$projectChangesService.savePrepareInfo(platform, projectData); } else { this.$logger.out("Skipping prepare.");