hmr: js changes not applied
See original GitHub issueVersion
2.2.1
Platform and OS info
Android
Steps to reproduce
npm i -g nativescript@latest
tns create TestApp --vue
tns run android --hmr --path TestApp
Then change Blank {N}-Vue app
string inside Home.vue
with something else.
What is expected?
Change to be applied.
What is actually happening?
Change is not applied.
Caused by this commit: https://github.com/nativescript-vue/nativescript-vue/commit/595d2a0032de2b7b45805ef0a5266e6fd4dbe820
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
HMR not working properly when modifying files in ... - GitHub
I was able to change any file in the node_modules folder and had hot reload working (without any specific configuration). Code. I've tried...
Read more >webpack HMR not loading changes - Stack Overflow
When I make changes to one of my stylesheets, it recompiles and reloads as expected: [WDS] App updated. Recompiling... client?5cf9:222 [WDS] App ...
Read more >Hot Module Replacement - webpack
Hot Module Replacement (HMR) exchanges, adds, or removes modules while an application is running, without a full reload. This can significantly speed up ......
Read more >Development - Parcel
CSS changes are automatically applied via HMR with no page reload necessary. This is also true when using a framework with HMR support...
Read more >Understanding webpack HMR beyond the docs - Jakob Lind
The webpack HMR docs are… not so good. ... experience by automatically replace running code in the browser whenever you make a change...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mbyor I’ll release it in a couple of hours, when I get the chance!
I’ve reverted the commit here https://github.com/nativescript-vue/nativescript-vue/commit/621e7e6318a3fe88fd72b1ec7176e7479ebcad0e as with {N}-5.3
Sorry for that round trip, I initially fixed here https://github.com/nativescript-vue/nativescript-vue/pull/444 the HMR extra navigation by hacking the internals of the NS frame as there is no public way to do it. So, the problem of this approach is that any internal change on NS could affect to the fix, and it happened here.