-
-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Description
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.1.0
- Android Runtime: 5.1.0
- iOS Runtime: 5.1.0
- Plugin(s):nativescript-dev-webpack - rc(0.18.5-rc-2019-01-03-145308-01),
nativescript-angular - next
Describe the bug
If you use Angular app with Lazy loading and make a change in scss file, you will see that the livesync stop to work.
To Reproduce
tns create app --template tns-template-tab-navigation-ngcd appnpm i nativescript-dev-webpack@rc --save-dev- run
update-ns-webpack --configsfrom /node_modules/.bin npm i nativescript-angular@next --save- run
update-app-ng-depsfrom /node_modules/.bin tns preview --hmr- make a change in
tsfile - livesync works - make a change in
htmlfile - livesync works - make a change in scss and you will see in console:
HMR: Cannot apply update. A previous update aborted. Application needs to be restarted in order to apply the changes. - after step 10, livesync stop to work for all files.
Expected behavior
after step 10 livesync must to continue to work