File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ export class PlatformEnvironmentRequirements implements IPlatformEnvironmentRequ
1919 return this . $injector . resolve ( "previewAppLiveSyncService" ) ;
2020 }
2121
22+ @cache ( )
23+ private get $previewCommandHelper ( ) : IPreviewCommandHelper {
24+ return this . $injector . resolve ( "previewCommandHelper" ) ;
25+ }
26+
2227 public static CLOUD_SETUP_OPTION_NAME = "Configure for Cloud Builds" ;
2328 public static LOCAL_SETUP_OPTION_NAME = "Configure for Local Builds" ;
2429 public static TRY_CLOUD_OPERATION_OPTION_NAME = "Try Cloud Operation" ;
@@ -179,6 +184,7 @@ export class PlatformEnvironmentRequirements implements IPlatformEnvironmentRequ
179184 this . $errors . failWithoutHelp ( `No project found. In order to sync to playground you need to go to project directory or specify --path option.` ) ;
180185 }
181186
187+ this . $previewCommandHelper . run ( ) ;
182188 await this . $previewAppLiveSyncService . initialSync ( {
183189 projectDir,
184190 appFilesUpdaterOptions : {
You can’t perform that action at this time.
0 commit comments