diff --git a/lib/device-sockets/ios/socket-proxy-factory.ts b/lib/device-sockets/ios/socket-proxy-factory.ts index 368063faeb..c83fabf287 100644 --- a/lib/device-sockets/ios/socket-proxy-factory.ts +++ b/lib/device-sockets/ios/socket-proxy-factory.ts @@ -132,9 +132,7 @@ export class SocketProxyFactory extends EventEmitter implements ISocketProxyFact deviceSocket.on("close", () => { this.$logger.info("Backend socket closed!"); - if (!this.$options.watch) { - webSocket.close(); - } + webSocket.close(); }); webSocket.on("close", () => {