Skip to content

Commit b332669

Browse files
committed
fix: stop making a full rebuild on livesync when the --clean flag is set
1 parent ef91626 commit b332669

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/services/livesync/livesync-service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,8 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
703703
rebuiltInformation,
704704
projectData,
705705
deviceBuildInfoDescriptor,
706-
liveSyncData,
706+
// the clean option should be respected only during initial sync
707+
liveSyncData: _.assign({}, liveSyncData, { clean: false }),
707708
settings: latestAppPackageInstalledSettings,
708709
modifiedFiles: allModifiedFiles,
709710
filesToRemove: currentFilesToRemove,

0 commit comments

Comments
 (0)