File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -399,6 +399,7 @@ export class PlatformService implements IPlatformService {
399399 } else {
400400 this . $logger . out ( "Skipping package build. No changes detected on the native side. This will be fast!" ) ;
401401 }
402+
402403 if ( forceInstall || shouldBuild || ( await this . shouldInstall ( device ) ) ) {
403404 await this . installApplication ( device ) ;
404405 } else {
@@ -409,11 +410,17 @@ export class PlatformService implements IPlatformService {
409410 }
410411
411412 public async runPlatform ( platform : string ) : Promise < void > {
413+ if ( this . $options . justlaunch ) {
414+ this . $options . watch = false ;
415+ }
416+
412417 this . $logger . out ( "Starting..." ) ;
418+
413419 let action = async ( device : Mobile . IDevice ) => {
414420 await device . applicationManager . startApplication ( this . $projectData . projectId ) ;
415421 this . $logger . out ( `Successfully started on device with identifier '${ device . deviceInfo . identifier } '.` ) ;
416422 } ;
423+
417424 await this . $devicesService . initialize ( { platform : platform , deviceId : this . $options . device } ) ;
418425 await this . $devicesService . execute ( action , this . getCanExecuteAction ( platform ) ) ;
419426 }
You can’t perform that action at this time.
0 commit comments