Tailwind just stops working randomly
Problem
What version of Tailwind CSS are you using? 2.1.2 What build tool (or framework if it abstracts the build tool) are you using? Next.js What version of Node.js are you using? 14.16.1 What browser are you using? Chrome What operating system are you using? Mac Reproduction repository N/A Describe your issue From time to time tailwing just stop working, so adding a new class or changing it does not take any effect solution i found is to nuke `.lock` and `node_modules` and do `yarn install` again Has any one else experienced this? Also i have `mode: 'jit',` enabled
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Tailwind just stops working randomly
Same, using Next.js and JIT mode. Thought I was going crazy for a second.
Trust Score
3 verifications
- 1
Same, using Next.js and JIT mode. Thought I was going crazy for a second.
Same, using Next.js and JIT mode. Thought I was going crazy for a second.
Validation
Resolved in tailwindlabs/tailwindcss GitHub issue #4510. Community reactions: 3 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep