Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c53e36f

Browse files
authoredJan 13, 2017
Fixed: debug exits unexpected when using --chrome and --watch options (#2426)
1 parent 561a9fa commit c53e36f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎lib/device-sockets/ios/socket-proxy-factory.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ export class SocketProxyFactory implements ISocketProxyFactory {
117117

118118
webSocket.on("close", () => {
119119
this.$logger.info('Frontend socket closed!');
120-
process.exit(0);
120+
if (!this.$options.watch) {
121+
process.exit(0);
122+
}
121123
});
122124

123125
});

0 commit comments

Comments
 (0)
Please sign in to comment.