-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
postcss config is not reloaded on server.restart()
#15745
Comments
|
vite load the |
one workaround is to not use But i don't know if there are things in postcss config that can't be bundled into the vite config and how it would work with dependencies like a browserslist file for autoprefixer... |
@PengBoUESTC I noticed that you submitted a fix upstream. Does that mean that if we upgrade |
yes , And I try to update the 'postcss-load-config' dep version of vite packages ,and maybe this need more test |
Are there any known workarounds for this issue? I've cleared node_modules and browser cache... I'm still not getting updates in the compiled css. |
Describe the bug
editing postcss.config.js does not apply changes, even when there is a watcher that calls server.restart()
Reproduction
https://stackblitz.com/edit/vitejs-vite-yls5ef?file=postcss.config.js,vite.config.js&terminal=dev
Steps to reproduce
edit
postcss.config.js
in the reproduction, observe that console does not logload postcss config
again even though it shouldSystem Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: