From 1ba387f881107c72c87b4c6a5bf0355a6c00604d Mon Sep 17 00:00:00 2001 From: Tsvetan Raikov Date: Fri, 13 Jan 2017 14:10:36 +0200 Subject: [PATCH] Fixed: the app doesn't exit when using --release and --justlaunch --- lib/services/platform-service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/services/platform-service.ts b/lib/services/platform-service.ts index 2e77af5733..409919e82e 100644 --- a/lib/services/platform-service.ts +++ b/lib/services/platform-service.ts @@ -438,6 +438,9 @@ export class PlatformService implements IPlatformService { public runPlatform(platform: string): IFuture { return (() => { + if (this.$options.justlaunch) { + this.$options.watch = false; + } this.$logger.out("Starting..."); let action = (device: Mobile.IDevice) => { return (() => {