We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c9f4704 + 8020a78 commit c867146Copy full SHA for c867146
lib/services/livesync/ios-livesync-service.ts
@@ -49,8 +49,10 @@ class IOSLiveSyncService extends liveSyncServiceBaseLib.LiveSyncServiceBase<Mobi
49
}
50
this.$iOSEmulatorServices.postDarwinNotification(this.$iOSNotification.attachRequest).wait();
51
} else {
52
- this.$iOSSocketRequestExecutor.executeAttachRequest(this.device, timeout).wait();
53
- this.socket = this.device.connectToPort(IOSLiveSyncService.BACKEND_PORT);
+ if(!this.socket) {
+ this.$iOSSocketRequestExecutor.executeAttachRequest(this.device, timeout).wait();
54
+ this.socket = this.device.connectToPort(IOSLiveSyncService.BACKEND_PORT);
55
+ }
56
this.sendPageReloadMessage();
57
58
}).future<void>()();
0 commit comments