Skip to content

fix: don't stuck on "Restarting application" when some error occurs while stopping the application #61

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 1 commit into from
Oct 1, 2019

Conversation

Fatme
Copy link
Contributor

@Fatme Fatme commented Oct 1, 2019

Currently when the application is stopped, NativeScript CLI hangs up on "Restarting application". This happens as we're no able to start gdb server due to some error. (for example, not mounted developer disk image on device). In this situation, ios-device-lib doesn't print any message back to the CLI and this way the entire tns run command is blocked. Printing error in this situation will ensure that NativeScript CLI will continue the command execution.

Rel to NativeScript/nativescript-cli#5020

…hile stopping the application

Currently when the application is stopped, NativeScript CLI hangs up on "Restarting application". This happens as we're no able to start `gdb server` due to some error. (for example, not mounted developer disk image on device). In this situation, `ios-device-lib` doesn't print any message back to the CLI and this way the entire `tns run` command is blocked. Printing error in this situation will ensure that NativeScript CLI will continue the command execution.

Rel to NativeScript/nativescript-cli#5020
@Fatme Fatme merged commit ab37d3e into master Oct 1, 2019
@Fatme Fatme deleted the fatme/fix-stop-app branch October 1, 2019 13:04
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.

2 participants