Skip to content

Commit 523685a

Browse files
author
Tsvetan Raikov
committed
Fixed: the app doesn't exit when using --release and --justlaunch
1 parent dac7acd commit 523685a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/services/platform-service.ts

+3
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,9 @@ export class PlatformService implements IPlatformService {
438438

439439
public runPlatform(platform: string): IFuture<void> {
440440
return (() => {
441+
if (this.$options.release) {
442+
this.$options.watch = false;
443+
}
441444
this.$logger.out("Starting...");
442445
let action = (device: Mobile.IDevice) => {
443446
return (() => {

0 commit comments

Comments
 (0)