-
Notifications
You must be signed in to change notification settings - Fork 7
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
Tailwind CSS styles are not updating with HMR #37
Comments
I’m experiencing a similar issue where Tailwind CSS classes do not update with HMR unless I reload the site. However, if I add a class that has already been used elsewhere in the application, it updates correctly with HMR. Interestingly, this issue resolves when I disable the Shadow DOM by setting |
@MohamedKamalOthman I have tried with |
The HMR cannot update the module directly with the shadow DOM; therefore, I would suggest using a workaround solution
|
@EranGrin Thanks for now I have used the code that you have provided for full page reload. |
Hi I am using this library with shadow root and HMR is working but tailwind styles are not updating.
This is the
main.js
fileThis is the
index.scss
fileThis is the vite config file
The text was updated successfully, but these errors were encountered: