-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS updates require a dev server restart when using workspace Vue package #359
Comments
Running into the same issue. |
same issue when updating any scss file, it won't hot reload style changes. Just migrated from vite 4, this is absurdly frustrating |
I have the same frustrating issue... 😞 <style src="./Component.css"></style> with an import <style>
@import url("./Component.css");
</style> |
This is exactly what i've started doing as it still allows the |
Will this ever be solved? |
Related plugins
plugin-vue
plugin-vue-jsx
Describe the bug
When updating CSS inside Vue components, referenced by the src attribute, the styles do not update until the dev server is restarted. Reloading the page does not fix the issue, only fully restarting the dev server does.
I reported this in withastro/astro#10110 but realised it was an upstream issue.
Reproduction
https://stackblitz.com/edit/vitejs-vite-psmghd?terminal=dev
Steps to reproduce
pnpm install
followed bypnpm --filter @example/vite-vue dev
packages/components/VueExample/VueExample.css
System Info
Used Package Manager
pnpm
Logs
Click to expand!
Validations
The text was updated successfully, but these errors were encountered: