File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -649,6 +649,11 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
649
649
skipModulesNativeCheck : ! liveSyncData . watchAllFiles
650
650
} , { skipNativePrepare : deviceBuildInfoDescriptor . skipNativePrepare } ) ;
651
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
+
652
657
const service = this . getLiveSyncService ( device . deviceInfo . platform ) ;
653
658
const settings : ILiveSyncWatchInfo = {
654
659
liveSyncDeviceInfo : deviceBuildInfoDescriptor ,
You can’t perform that action at this time.
0 commit comments