Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit e232906

Browse files
committed
Always set application pid.
1 parent 604a1dd commit e232906

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mobile/ios/simulator/ios-simulator-application-manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ export class IOSSimulatorApplicationManager extends ApplicationManagerBase {
4141

4242
public async startApplication(appIdentifier: string): Promise<void> {
4343
let launchResult = this.iosSim.startApplication(this.identifier, appIdentifier);
44+
let pid = launchResult.split(":")[1].trim();
45+
this.$deviceLogProvider.setApplicationPidForDevice(this.identifier, pid);
4446

4547
if (!this.$options.justlaunch) {
46-
let pid = launchResult.split(":")[1].trim();
47-
this.$deviceLogProvider.setApplicationPidForDevice(this.identifier, pid);
4848
this.$iOSSimulatorLogProvider.startLogProcess(this.identifier);
4949
}
5050
}

0 commit comments

Comments
 (0)