Skip to content

Commit 74c8c69

Browse files
authored
Fixed: rum command doesn't exit when using --justlaunch option (#2416)
1 parent cc3580f commit 74c8c69

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/services/livesync/livesync-service.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ class LiveSyncService implements ILiveSyncService {
109109
this.$hooksService.executeBeforeHooks('watch').wait();
110110
this.partialSync(liveSyncData[0].syncWorkingDirectory, watchForChangeActions);
111111
}
112+
if (this.$options.justlaunch) {
113+
process.kill(process.pid);
114+
}
112115
}).future<void>()();
113116
}
114117

0 commit comments

Comments
 (0)