You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the cleanup-process is never disconnected from CLI as in the `commandsService` we set the `shouldDispose` property to false. This breaks short living commands like `tns create`, `tns devices`, etc.
Handle the disposing similar to the other long living commands in CLI.
// Do not dispose ios-device-lib, so the process will remain alive and the debug application (NativeScript Inspector or Chrome DevTools) will be able to connect to the socket.
97
98
// In case we dispose ios-device-lib, the socket will be closed and the code will fail when the debug application tries to read/send data to device socket.
98
99
// That's why the `$ tns debug ios --justlaunch` command will not release the terminal.
99
100
// In case we do not set it to false, the dispose will be called once the command finishes its execution, which will prevent the debugging.
0 commit comments