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 {
42
42
public liveSync ( platform : string ) : IFuture < void > {
43
43
return ( ( ) => {
44
44
platform = this . $liveSyncServiceBase . getPlatform ( platform ) . wait ( ) ;
45
- this . _isInitialized = true ;
46
45
let platformLowerCase = platform . toLowerCase ( ) ;
47
46
48
47
if ( ! this . $platformService . preparePlatform ( platformLowerCase ) . wait ( ) ) {
49
48
this . $errors . failWithoutHelp ( "Verify that listed files are well-formed and try again the operation." ) ;
50
49
}
51
50
51
+ this . _isInitialized = true ; // If we want before-prepare hooks to work properly, this should be set after preparePlatform function
52
+
52
53
let platformData = this . $platformsData . getPlatformData ( platformLowerCase ) ;
53
54
this . ensureAndroidFrameworkVersion ( platformData ) . wait ( ) ;
54
55
You can’t perform that action at this time.
0 commit comments