nativescript-dev-webpack icon indicating copy to clipboard operation
nativescript-dev-webpack copied to clipboard

[HMR + TypeScript] Failure reports in Vue and Glimmer

Open frederikbosch opened this issue 5 years ago • 1 comments

Today I was trying out glimmer-native and could not get HMR running. I found out that Vue are reporting similar issues. I will reference to the issues per framework. Those issues themselves have perfectly reproducible examples.

  • For Glimmer Native. Issue: #27. Reproduce by creating the default blueprint as suggested here, and run tns preview --hmr.
  • For Vue. Issue: #507. It contains multiple examples how to reproduce (easily).

Furthermore I also noticed the recently closed issue in the repo, #1060 and the open issue #1095.

Environment:

  • CLI: 6.3.0
  • Node.js: 8.15
  • nativescript-dev-webpack: 1.4.1

frederikbosch avatar Jan 07 '20 22:01 frederikbosch

@rosen-vladimirov In the latest merged PR, I saw you giving a hint to the one opening the issue where to fix the code. Would it possible to point me in the correct direction where this could possibly go wrong?

The error I would like to fix is

HMR: Ignored an update to unaccepted module: 
HMR: ➭ ../../src/ui-listview.ts

Somehow the TS files are not accepted.

frederikbosch avatar Jan 22 '20 10:01 frederikbosch