Skip to content

Angular apps do not work with HMR out of the box #4325

@DimitarTachev

Description

@DimitarTachev

Environment

  • CLI: 5.1.1
  • Cross-platform modules: 5.1.0
  • Android Runtime: 5.1.0
  • iOS Runtime: 5.1.0
  • Plugin(s): nativescript-dev-webpack: 0.19.1

To Reproduce

  1. tns create ngApp --ng && cd ngApp
  2. tns run android --hmr or tns run ios --hmr
  3. Apply some change in order to trigger the LiveSync process.
  4. The app will not get the change applied.

Expected behavior
The app should get the change applied.

Additional context
In order to get the HMR working in Angular apps, I have to follow the steps in this wiki: https://github.com/NativeScript/nativescript-angular/wiki/HMR.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions