File tree 1 file changed +5
-3
lines changed
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
596
596
597
597
const startSyncFilesTimeout = ( platform ?: string ) => {
598
598
timeoutTimer = setTimeout ( async ( ) => {
599
+ if ( platform && liveSyncData . bundle ) {
600
+ filesToSync = filesToSyncMap [ platform ] ;
601
+ }
602
+
599
603
if ( filesToSync . length || filesToRemove . length ) {
600
604
const currentFilesToSync = _ . cloneDeep ( filesToSync ) ;
601
605
filesToSync . splice ( 0 , filesToSync . length ) ;
@@ -732,9 +736,7 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
732
736
filesToRemove,
733
737
startSyncFilesTimeout : async ( platform : string ) => {
734
738
if ( platform ) {
735
- filesToSync = filesToSyncMap [ platform ] ;
736
- await startSyncFilesTimeout ( ) ;
737
- filesToSyncMap [ platform ] = [ ] ;
739
+ await startSyncFilesTimeout ( platform ) ;
738
740
} else {
739
741
// This code is added for backwards compatibility with old versions of nativescript-dev-webpack plugin.
740
742
await startSyncFilesTimeout ( ) ;
You can’t perform that action at this time.
0 commit comments