File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -325,6 +325,7 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
325
325
@hook ( "liveSync" )
326
326
private async liveSyncOperation ( deviceDescriptors : ILiveSyncDeviceInfo [ ] , liveSyncData : ILiveSyncInfo , projectData : IProjectData ) : Promise < void > {
327
327
let deviceDescriptorsForInitialSync : ILiveSyncDeviceInfo [ ] = [ ] ;
328
+ await this . $pluginsService . ensureAllDependenciesAreInstalled ( projectData ) ;
328
329
329
330
if ( liveSyncData . syncToPreviewApp ) {
330
331
await this . $previewAppLiveSyncService . initialize ( {
@@ -337,7 +338,6 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
337
338
projectDir : projectData . projectDir
338
339
} ) ;
339
340
} else {
340
- await this . $pluginsService . ensureAllDependenciesAreInstalled ( projectData ) ;
341
341
// In case liveSync is called for a second time for the same projectDir.
342
342
const isAlreadyLiveSyncing = this . liveSyncProcessesInfo [ projectData . projectDir ] && ! this . liveSyncProcessesInfo [ projectData . projectDir ] . isStopped ;
343
343
You can’t perform that action at this time.
0 commit comments