From 87d7844b475c8620c65f297e673575655fd6d443 Mon Sep 17 00:00:00 2001 From: DimitarTachev Date: Thu, 9 Aug 2018 16:33:07 +0300 Subject: [PATCH] fix: stop starting logcat helper when starting the app only for livesync in order to avoid duplicate logs --- lib/common | 2 +- .../livesync/android-device-livesync-sockets-service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common b/lib/common index 0405ea4eea..9100f6cc82 160000 --- a/lib/common +++ b/lib/common @@ -1 +1 @@ -Subproject commit 0405ea4eea768f4264ed68372e63094690371a86 +Subproject commit 9100f6cc828c6bc2c585c67c2d550425e907b7d8 diff --git a/lib/services/livesync/android-device-livesync-sockets-service.ts b/lib/services/livesync/android-device-livesync-sockets-service.ts index e2d172fda0..9a00dc1e94 100644 --- a/lib/services/livesync/android-device-livesync-sockets-service.ts +++ b/lib/services/livesync/android-device-livesync-sockets-service.ts @@ -31,7 +31,7 @@ export class AndroidDeviceSocketsLiveSyncService extends DeviceLiveSyncServiceBa const pathToLiveSyncFile = temp.path({ prefix: "livesync" }); this.$fs.writeFile(pathToLiveSyncFile, ""); await this.device.fileSystem.putFile(pathToLiveSyncFile, this.getPathToLiveSyncFileOnDevice(deviceAppData.appIdentifier), deviceAppData.appIdentifier); - await this.device.applicationManager.startApplication({ appId: deviceAppData.appIdentifier, projectName: this.data.projectName }); + await this.device.applicationManager.startApplication({ appId: deviceAppData.appIdentifier, projectName: this.data.projectName, justLaunch: true }); await this.connectLivesyncTool(projectFilesPath, this.data.projectId); }