Skip to content

HMR does not work for Angular projects, containing lazy loaded modules and the code snippet #1564

@ageorgieva

Description

@ageorgieva

Environment
CLI: @rc

To Reproduce
Create Master Detail NG app
Add nativescript-dev-webpackа@next
Add nativescript-angular@next
Add the code snippet from: https://github.com/NativeScript/nativescript-angular/wiki/HMR in main.ts file
Deploy on device.

Expected behavior
App should refresh the changes.

Actual behavior
The app is restating and there are info messages in the Console.

Additional context
Related to NativeScript/NativeScript#6398

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions