Skip to content

chore: merge release-patch in release #4479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 28, 2019
Merged

chore: merge release-patch in release #4479

merged 6 commits into from
Mar 28, 2019

Conversation

rosen-vladimirov
Copy link
Contributor

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

rosen-vladimirov and others added 6 commits March 28, 2019 13:58
Whenever all devices/emulators/simulators that we are using for LiveSync operation are disconnected or we are unable to sync changes on them, the command (`tns debug`, `tns run`...) should exit.
This is not happening currently due to the setIntervals and iOS device detection that happens and does not stop when the devices are disconnected. So workaround the problem by handling the liveSyncStopped event for the livesync related commands. In case we receive liveSyncStopped for all devices that we've been using for LiveSync action, call process.exit. Use non-zero exit code for this case, as if we receive liveSyncStopped event, we've either received error for particular device or it has been stopped. For both cases this is not a correct behavior for LiveSync.
@ghost ghost added the new PR label Mar 28, 2019
@cla-bot cla-bot bot added the cla: yes label Mar 28, 2019
@rosen-vladimirov
Copy link
Contributor Author

test cli-smoke

@Fatme Fatme merged commit 4971447 into release Mar 28, 2019
@Fatme Fatme deleted the release-patch branch March 28, 2019 12:25
@ghost ghost removed the new PR label Mar 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants