With ionic-app-scripts 2.0.0 when I'm updating content on my .ts page changes are not applied correctly..
In fact, when I'm adding for example a console.log in my constructor for the first time the change will be applied, but if I change again this console.log replacing for example console.log("hello") by console.log("hello ionic"); my browser will reload but only hello will be displayed.
However if I made a change on another page the older changed will be applied...
Steps to reproduce:
Which @ionic/app-scripts version are you using? 2.0.0
Thanks in advance !
I have the same issue, after edit .ts file the edit not applied.
Same, however if I re-run ionic serve, files are updated as they should be
This should be fixed in nightly. Please try and let me know how it goes. If you have a custom webpack config, make sure you're updating it to only use ModuleConcatenationPlugin for prod builds.
npm install @ionic/app-scripts@nightly
Thanks,
Dan
I can confirm that this is fixed in the nightly (2.0.0-201707102058)
Thanks a lot !
Same here. Update works. Thanks for the quick fix.
> ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"
[10:09:57] ionic-app-scripts 2.0.0-201707102058
[10:09:57] watch started ...
[10:09:57] build dev started ...
[10:09:57] clean started ...
[10:09:57] clean finished in 2 ms
[10:09:57] copy started ...
[10:09:57] transpile started ...
[10:10:01] transpile finished in 3.56 s
[10:10:01] preprocess started ...
[10:10:01] deeplinks started ...
[10:10:01] deeplinks finished in 353 ms
[10:10:01] preprocess finished in 535 ms
[10:10:01] webpack started ...
[10:10:01] copy finished in 4.21 s
[10:10:13] webpack finished in 12.03 s
[10:10:13] sass started ...
[10:10:15] sass finished in 1.71 s
[10:10:15] postprocess started ...
[10:10:15] postprocess finished in 5 ms
[10:10:15] lint started ...
[10:10:15] build dev finished in 17.89 s
[10:10:15] watch ready in 18.18 s
[10:10:15] dev server running: http://localhost:8100/
Great! This issue disturb me so long time. After update to #nightly, it is resolved.
I get this error when I try to update app-scripts:
npm WARN deprecated [email protected]: Please update to the latest object-keys
transfermarkt@ /media/saso/Data/www/projects/transfermarktApp
โโโฌ @ionic/[email protected] invalid
โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โ โโโ [email protected]
โโโฌ [email protected]
โโโ UNMET PEER DEPENDENCY [email protected]
Most helpful comment
This should be fixed in
nightly. Please try and let me know how it goes. If you have a custom webpack config, make sure you're updating it to only use ModuleConcatenationPlugin for prod builds.Thanks,
Dan