telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

Fix getting debuggable NativeScript apps #945

Closed rosen-vladimirov closed 7 years ago

rosen-vladimirov commented 7 years ago

When you can debug NativeScript application, there must be a unix socket including the application identifier on the device. CLI searches the currently running sockets and searches for <appid>-debug. However with latest (3.0.0) runtime, the socket is called <appid>-inspectorServer. Fix regex to work with both of the versions.

NOTE: I'll add tests later.

justcodebuilduser commented 7 years ago

:heart: