tailwindcss v3.0.5 is not picking up changes unless I change tailwind.config.js file
Problem
What version of Tailwind CSS are you using? v3.0.5 What build tool (or framework if it abstracts the build tool) are you using? "postcss": "^8.4.5" What version of Node.js are you using? v16.6.2 What browser are you using? Chrome What operating system are you using? macOS Reproduction URL [code block] Describe your issue Sometimes tailwind is not adding classes to final CSS when I'm adding them to my HTML files unless I edit the `tailwind.config.js` file, I usually comment and uncomment some line in that file and all of sudden I see the class has been added to the CSS file, I had this very same issue on my Next.js project as well. I made a new reproduction repository and tested things there, it was all good and working. Not really sure why it's not working on my own projects at some point. This may sound stupid but maybe tailwind is not picking up changes as the project get's more complicated? I made this issue to know if anyone had some similar experience or not, so maybe someone can guide me on how to resolve this. But if I change to the old version tailwindcss 2.2.19, there will be no problem [code block]
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: tailwindcss v3.0.5 is not picking up changes unless I change tailwind.config.js file
I'm having the same issue. I am using the Tailwind CLI instructions provided on https://tailwindcss.com/docs/installation and the installation goes smoothly. However, when starting the Tailwind CLI build process with `npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch`, the `src/output.css` is successfully created, then I receive the `Rebuildling...` message in terminal when changes a
Trust Score
5 verifications
- 1
I'm having the same issue. I am using the Tailwind CLI instructions provided on
I'm having the same issue. I am using the Tailwind CLI instructions provided on https://tailwindcss.com/docs/installation and the installation goes smoothly. However, when starting the Tailwind CLI build process with `npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch`, the `src/output.css` is successfully created, then I receive the `Rebuildling...` message in terminal when changes are made to `index.html`, but the `output.css` file does not update.
Validation
Resolved in tailwindlabs/tailwindcss GitHub issue #6553. Community reactions: 12 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep