Skip to content

Conversation

@Fatme
Copy link
Contributor

@Fatme Fatme commented Jun 1, 2018

In case when tns run ios --justlaunch command is executed on real iOS device, the console should be released and the process should exit. Actually the process does not exit because a device's log process is started and this prevents the console to be released. So this PR fixes this behaviour.

Fixes #3644

PR Checklist

What is the current behavior?

The console is not released when tns run ios --justlaunch command is executed.

What is the new behavior?

The console is released when tns run ios command is executed.

@Fatme Fatme force-pushed the fatme/fix-justlaunch branch from e444bc5 to 8efec72 Compare June 1, 2018 09:24
@Fatme Fatme force-pushed the fatme/fix-justlaunch branch from 8efec72 to 55b5813 Compare June 4, 2018 10:57
}

if (this.$mobileHelper.isiOSPlatform(device.deviceInfo.platform)) {
if (this.$mobileHelper.isiOSPlatform(device.deviceInfo.platform)) { // TODO: Consider to move this code to ios-debug-service
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move the TODO above the code

const deviceAction = async (device: Mobile.IDevice): Promise<void> => {
try {
const platform = device.deviceInfo.platform;
const liveSyncService = this.getLiveSyncService(platform);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be called const platformLiveSyncService

@miroslavaivanova
Copy link
Contributor

run ci

@Natalia-Hristova Natalia-Hristova added this to the 4.1.1 milestone Jun 13, 2018
@miroslavaivanova
Copy link
Contributor

run ci

@rosen-vladimirov rosen-vladimirov merged commit d112c1a into release Jun 14, 2018
@rosen-vladimirov rosen-vladimirov deleted the fatme/fix-justlaunch branch June 14, 2018 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants