File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ class LiveSyncService implements ILiveSyncService {
4949
5050 public liveSync ( platform : string , applicationReloadAction ?: ( deviceAppData : Mobile . IDeviceAppData ) => IFuture < void > ) : IFuture < void > {
5151 return ( ( ) => {
52+ if ( this . $options . justlaunch ) {
53+ this . $options . watch = false ;
54+ }
5255 let liveSyncData : ILiveSyncData [ ] = [ ] ;
5356 if ( platform ) {
5457 this . $devicesService . initialize ( { platform : platform , deviceId : this . $options . device } ) . wait ( ) ;
@@ -109,9 +112,6 @@ class LiveSyncService implements ILiveSyncService {
109112 this . $hooksService . executeBeforeHooks ( 'watch' ) . wait ( ) ;
110113 this . partialSync ( liveSyncData [ 0 ] . syncWorkingDirectory , watchForChangeActions ) ;
111114 }
112- if ( this . $options . justlaunch ) {
113- process . kill ( process . pid ) ;
114- }
115115 } ) . future < void > ( ) ( ) ;
116116 }
117117
You can’t perform that action at this time.
0 commit comments