You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 30, 2021. It is now read-only.
Hi,
I'm still trying to understand how hmr works in snowpack.
Using the default template 0.8.0. When I change the css part of App.js, the hmr module reloads only the js part of the component. I see following resources loaded in the network tab.
That's an interesting problem! I've got a partial fix so that style changes are updated as expected, but there's still a problem in the compiler around where css isn't removed on destroy: sveltejs/svelte#4901
It shouldn't block you, but it just means you may see some outdated CSS on the page until you do a full page reload until that issue is fixed.
Hi,
I'm still trying to understand how hmr works in snowpack.
Using the default template 0.8.0. When I change the css part of App.js, the hmr module reloads only the js part of the component. I see following resources loaded in the network tab.
But as the change is in the css part, and svelte regenerates the scoped css, the css part of the component
App.css.proxy.js
should be loaded as well .Thanks so much for all the great features in snowpack.
The text was updated successfully, but these errors were encountered: