-
- Notifications
You must be signed in to change notification settings - Fork 197
Open
Labels
buglivesyncreproduciblerunDescribes issues related to run commandDescribes issues related to run commandseverity: lowto-be-checkedIssues that might be resolved in a previous release and need to be tested or clarified furtherIssues that might be resolved in a previous release and need to be tested or clarified further
Description
The problem
Whenever starting LiveSync on a new project if LiveSync is unable to start (for example a TypeScript error is present) then CLI tries to exit, but hangs because it has child processes attached to it.
Steps to reproduce
On a Unix OS:
tns create myApp --tsccd myAppecho asd >> app/app.ts// this will cause the transpile errortns run android// could be ios just as well
At this point CLI fails to start LiveSync, because there is a syntax error in the main TypeScript file and the message Unable to apply changes on device: XXXXXXXXXXXXXX. Error is: TypeScript compiler failed with exit code 1. is displayed, however the process does not finish and the user is forced to break execution with Ctrl-C.
This issue is caused by the various child processes that CLI spawns like the one for communication with iOS devices or analytics.
Metadata
Metadata
Assignees
Labels
buglivesyncreproduciblerunDescribes issues related to run commandDescribes issues related to run commandseverity: lowto-be-checkedIssues that might be resolved in a previous release and need to be tested or clarified furtherIssues that might be resolved in a previous release and need to be tested or clarified further