nativescript-community/nativescript-vscode-extension

Logs from hmr are shown multiple times in debug console

Fatme opened this issue · 1 comments

Fatme commented

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):

  • CLI: 5.3.0
  • Cross-platform modules:
  • Android Runtime:
  • iOS Runtime: 5.2.0
  • Plugin(s):
  • VSCode:

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

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.

  • CLI: 5.3.1
  • Cross-platform modules: 5.3.1
  • iOS Runtime: 5.3.1
  • Plugin(s): nativescript-angular 7.2.3
  • VSCode: 1.32.3