Sass HMR without page reload #2531
Unanswered
segovia94
asked this question in
Troubleshooting
Replies: 1 comment
-
Yas! What’s up with dat? I’m just trying snowpack now, and am a bit confused by this too. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to get Sass to not reload the page on every change with HMR? For a demo I used the
@snowpack/app-template-blank
and then added@snowpack/plugin-sass
. CSS files do not reload the page, but SCSS files do.https://github.com/segovia94/snowpack-sass-hmr-demo
You can see it in action here, but I think you have to login for it to fire the dev server.
https://codesandbox.io/s/snowpack-sass-hmr-pr5j1?file=/src/styles.scss:79-84
Beta Was this translation helpful? Give feedback.
All reactions