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

Logs from hmr are shown multiple times in debug console #246

Open Fatme opened 5 years ago

Fatme commented 5 years ago

Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

Describe the bug

To Reproduce

  1. tns create myTestApp --ts
  2. Select launch on iOS configuration and add tnsArgs: ["--hmr"]
  3. Make changes on .xml, .css files
  4. Sometimes the messages from hmr are shown more than once

Expected behavior

Sample project

Additional context

nickcabral commented 5 years ago

I'm seeing this issue in the debug console after starting via "Launch on iOS" even without the --hmr flag. I'm running an ns angular app.