diff --git a/lib/device-sockets/ios/socket-proxy-factory.ts b/lib/device-sockets/ios/socket-proxy-factory.ts index 77ab680400..87eb3390ae 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", () => {