File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -596,6 +596,10 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
596596
597597 const startSyncFilesTimeout = ( platform ?: string ) => {
598598 timeoutTimer = setTimeout ( async ( ) => {
599+ if ( platform && liveSyncData . bundle ) {
600+ filesToSync = filesToSyncMap [ platform ] ;
601+ }
602+
599603 if ( filesToSync . length || filesToRemove . length ) {
600604 const currentFilesToSync = _ . cloneDeep ( filesToSync ) ;
601605 filesToSync . splice ( 0 , filesToSync . length ) ;
@@ -732,9 +736,7 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
732736 filesToRemove,
733737 startSyncFilesTimeout : async ( platform : string ) => {
734738 if ( platform ) {
735- filesToSync = filesToSyncMap [ platform ] ;
736- await startSyncFilesTimeout ( ) ;
737- filesToSyncMap [ platform ] = [ ] ;
739+ await startSyncFilesTimeout ( platform ) ;
738740 } else {
739741 // This code is added for backwards compatibility with old versions of nativescript-dev-webpack plugin.
740742 await startSyncFilesTimeout ( ) ;
You can’t perform that action at this time.
0 commit comments