nativescript-community / nativescript-vscode-extension

A Visual Studio Code Extension for NativeScript
https://www.nativescript.org/visual-studio-code
Apache License 2.0
82 stars 32 forks source link

Changing XML file while livesync operation fails #141

Open ivanbuhov opened 7 years ago

ivanbuhov commented 7 years ago

Step to reproduce:

  1. Run Launch on iOS
  2. After VSCode is attached make change in a .xml file and save it.
  3. While the CLI is livesyncing the changed file, make another change to the file and save it again (you have to be fast). The expected result is to have the file sync-ed again. The actual result is the extension crashes with the following error:
    [NSDebugAdapter] Connection to target application successfully enabled
    Suppressing debugging client.
    Frontend client connected.
    Backend socket created.
    Error: read ECONNRESET
    at exports._errnoException (util.js:1018:11)
    at TCP.onread (net.js:572:26)
    [NSDebugAdapter] The tns command finished its execution with code 120.