Why does the vite config skip component scss files? #516
andrewatduckpin
started this conversation in
General
Replies: 1 comment
-
@andrewatduckpin Could it be that you use docker for development? If so, this is a vite issue with hmr and docker. Maybe see vitejs/vite#4116 for some help. |
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
-
I noticed that when I make changes to SCSS files within components, I don't get compile/reload. Looking at the vite config, we're watching
./Components/**/*.{php,twig}
I updated that to include the SCSS files
{php,twig,scss}
which works, but I'm curious why it wasn't watching for some of the most changed files in the build already? Maybe I'm missing something!Beta Was this translation helpful? Give feedback.
All reactions