-
-
Notifications
You must be signed in to change notification settings - Fork 194
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-ng
cd app
npm i nativescript-dev-webpack@rc --save-dev
- run
update-ns-webpack --configs
from /node_modules/.bin npm i nativescript-angular@next --save
- run
update-app-ng-deps
from /node_modules/.bin tns preview --hmr
- make a change in
ts
file - livesync works - make a change in
html
file - 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