question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

hmr: js changes not applied

See original GitHub issue

Version

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:closed
  • Created 4 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
rigor789commented, Apr 10, 2019

@mbyor I’ll release it in a couple of hours, when I get the chance!

1reaction
msaelicescommented, Apr 5, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found