Skip to content

Commit 5fa0308

Browse files
author
Dimitar Tachev
authored
Merge pull request #3810 from NativeScript/tachev/fix-livesync-logs
fix: stop starting logcat helper when starting the app only for livesync
2 parents eea1a18 + 87d7844 commit 5fa0308

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/services/livesync/android-device-livesync-sockets-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class AndroidDeviceSocketsLiveSyncService extends DeviceLiveSyncServiceBa
3131
const pathToLiveSyncFile = temp.path({ prefix: "livesync" });
3232
this.$fs.writeFile(pathToLiveSyncFile, "");
3333
await this.device.fileSystem.putFile(pathToLiveSyncFile, this.getPathToLiveSyncFileOnDevice(deviceAppData.appIdentifier), deviceAppData.appIdentifier);
34-
await this.device.applicationManager.startApplication({ appId: deviceAppData.appIdentifier, projectName: this.data.projectName });
34+
await this.device.applicationManager.startApplication({ appId: deviceAppData.appIdentifier, projectName: this.data.projectName, justLaunch: true });
3535
await this.connectLivesyncTool(projectFilesPath, this.data.projectId);
3636
}
3737

0 commit comments

Comments
 (0)