-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
[Bug Report]: HMR with Tailwind does not work #1777
Comments
System: the system info wasn't properly formatted when copy-pasted. Fixed here |
Thanks for your report and we'll take a look :) |
facing same problem |
a temporary solution is to set |
fixed in @farmfe/[email protected] |
Steps to reproduce
(alternatively just use the example from their repo under /examples/tailwind)
Reproduce link
No response
What is actually happening?
TailwindCSS only gives the CSS output that is actually used, so my thought is that farm doesn't register the change and doesn't recompile (therefore using stale cache in /node_modules/.farm/cache)
Expectation: when running dev server, the Tailwind class should be applied, when classes are changed
Actual: running dev server, Tailwind classes are not applied when they are changed (if not used before)
The current way to get it to work under development is to continually remove the specific cache (or just .cache folder) for farm to revalidate the new Tailwind classes applied in the mark up.
System Info
The text was updated successfully, but these errors were encountered: