Skip to content

Commit d97f1ca

Browse files
author
Fatme
authored
Merge pull request #3885 from NativeScript/fatme/fix-livesync-ios
chore: fix canExecuteFastSync for ios devices
2 parents 6b34fa7 + aaee176 commit d97f1ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/livesync/ios-device-livesync-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class IOSDeviceLiveSyncService extends DeviceLiveSyncServiceBase implemen
6161
constants.LIVESYNC_EXCLUDED_FILE_PATTERNS.forEach(pattern => scriptRelatedFiles = _.concat(scriptRelatedFiles, localToDevicePaths.filter(file => minimatch(file.getDevicePath(), pattern, { nocase: true }))));
6262

6363
const otherFiles = _.difference(localToDevicePaths, _.concat(scriptFiles, scriptRelatedFiles));
64-
const canExecuteFastSync = this.canExecuteFastSyncForPaths(liveSyncInfo, otherFiles, projectData, deviceAppData.platform);
64+
const canExecuteFastSync = this.canExecuteFastSyncForPaths(liveSyncInfo, localToDevicePaths, projectData, deviceAppData.platform);
6565

6666
if (!canExecuteFastSync) {
6767
await this.restartApplication(deviceAppData, projectData.projectName);

0 commit comments

Comments
 (0)