File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,14 @@ class LiveSyncService implements ILiveSyncService {
4242 public liveSync ( platform : string ) : IFuture < void > {
4343 return ( ( ) => {
4444 platform = this . $liveSyncServiceBase . getPlatform ( platform ) . wait ( ) ;
45- this . _isInitialized = true ;
4645 let platformLowerCase = platform . toLowerCase ( ) ;
4746
4847 if ( ! this . $platformService . preparePlatform ( platformLowerCase ) . wait ( ) ) {
4948 this . $errors . failWithoutHelp ( "Verify that listed files are well-formed and try again the operation." ) ;
5049 }
5150
51+ this . _isInitialized = true ; // If we want before-prepare hooks to work properly, this should be set after preparePlatform function
52+
5253 let platformData = this . $platformsData . getPlatformData ( platformLowerCase ) ;
5354 this . ensureAndroidFrameworkVersion ( platformData ) . wait ( ) ;
5455
You can’t perform that action at this time.
0 commit comments