Skip to content

Commit de59f12

Browse files
author
Dimitar Tachev
authored
Merge pull request #4061 from NativeScript/tachev/fix-livesync-clean
fix: stop making a full rebuild on livesync when the --clean flag is set
2 parents e62cfc5 + bea90b8 commit de59f12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/services/livesync/livesync-service.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,8 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
689689
rebuiltInformation,
690690
projectData,
691691
deviceBuildInfoDescriptor,
692-
liveSyncData,
692+
// the clean option should be respected only during initial sync
693+
liveSyncData: _.assign({}, liveSyncData, { clean: false }),
693694
settings: latestAppPackageInstalledSettings,
694695
modifiedFiles: allModifiedFiles,
695696
filesToRemove: currentFilesToRemove,

0 commit comments

Comments
 (0)