We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b5d097 + b55fbe1 commit 33fdfe2Copy full SHA for 33fdfe2
1 file changed
lib/services/livesync/livesync-service.ts
@@ -649,6 +649,11 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
649
skipModulesNativeCheck: !liveSyncData.watchAllFiles
650
}, { skipNativePrepare: deviceBuildInfoDescriptor.skipNativePrepare });
651
652
+ if (liveSyncData.useHotModuleReload && appInstalledOnDeviceResult.appInstalled) {
653
+ const additionalFilesToSync = currentHmrData && currentHmrData.fallbackFiles && currentHmrData.fallbackFiles[device.deviceInfo.platform];
654
+ _.each(additionalFilesToSync, fileToSync => currentFilesToSync.push(fileToSync));
655
+ }
656
+
657
const service = this.getLiveSyncService(device.deviceInfo.platform);
658
const settings: ILiveSyncWatchInfo = {
659
liveSyncDeviceInfo: deviceBuildInfoDescriptor,
0 commit comments