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 {
49
49
50
50
public liveSync ( platform : string , applicationReloadAction ?: ( deviceAppData : Mobile . IDeviceAppData ) => IFuture < void > ) : IFuture < void > {
51
51
return ( ( ) => {
52
+ if ( this . $options . justlaunch ) {
53
+ this . $options . watch = false ;
54
+ }
52
55
let liveSyncData : ILiveSyncData [ ] = [ ] ;
53
56
if ( platform ) {
54
57
this . $devicesService . initialize ( { platform : platform , deviceId : this . $options . device } ) . wait ( ) ;
@@ -109,9 +112,6 @@ class LiveSyncService implements ILiveSyncService {
109
112
this . $hooksService . executeBeforeHooks ( 'watch' ) . wait ( ) ;
110
113
this . partialSync ( liveSyncData [ 0 ] . syncWorkingDirectory , watchForChangeActions ) ;
111
114
}
112
- if ( this . $options . justlaunch ) {
113
- process . kill ( process . pid ) ;
114
- }
115
115
} ) . future < void > ( ) ( ) ;
116
116
}
117
117
You can’t perform that action at this time.
0 commit comments