Snowpack HMR refreshing but not module replacing #2417
-
I noticed a difference with HRM with recent upgrades. (somewhere after v2 as far as I can trace back) When I make a change, it does a full reload to the page once with the change. But then any subsequent change may or may not trigger a full reload with the change. If it doesn't reload the page, then no changes are applied. And when it does a full reload, it does not seem like a correct behavior either. For example, I should be able to see the change to a secondary modal or part of the view without a full reload, which loses the app's internal state. I see in version 3's doc that ESM is enabled by default. And I do have the
Is anyone else observing the same and have a suggestion? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
think it's a similar issue #2010 |
Beta Was this translation helpful? Give feedback.
-
I was able to solve my issue with the order of the plugins in config (which was an interesting and accidental find). |
Beta Was this translation helpful? Give feedback.
I was able to solve my issue with the order of the plugins in config (which was an interesting and accidental find).
And also to upgrade my node environment.