-
Notifications
You must be signed in to change notification settings - Fork 105
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
hash-files
breaks tailwind hot reloading
#271
Comments
Any thoughts on this? If there's not bandwidth to look at this, let me know and I can spend some time on it. |
Generally with |
For others seeing this, my workaround is to turn I'm still planning to investigate the root cause when I have some time. |
@johnbchron Any update on this? :) |
@Boscop Have not worked on this at all. |
Hey there! Thanks for adding the
hash-files
option; it's really helpful.I have
hash-files
and tailwind enabled. When I change my code to add a new tailwind class, it kicks off the rust build and the tailwind build as expected, but when the page reloads I don't get the new styles. I suspect that this is because the hashes don't get properly updated for the CSS when tailwind rebuilds.Right now I have to restart
cargo leptos watch
for thetarget/debug/hash.txt
file to change, and also for the CSS link in the HTML head to change. Following the restart, I have the new classes.I apologize that I don't have enough time for a reproduction right now, but to reproduce it should only require that
hash-files
and tailwind are enabled.EDIT: actually I do have a reproduction, it's just not minimal :)
The text was updated successfully, but these errors were encountered: