FredKSchott / snowpack

ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️
https://www.snowpack.dev
MIT License
19.48k stars 922 forks source link

[BUG] Tailwind JIT Compiler don't rebuild stylesheet #3041

Closed verbose9 closed 3 years ago

verbose9 commented 3 years ago

Bug Report Quick Checklist

Describe the bug

TailwindCSS JIT Compiler doesn't pick up changes.

To Reproduce

  1. Clone: https://github.com/verbose9/tlwind

  2. Install dependencies and spin up dev server:

    
    npm i

npm run dev


3. Try changing tailwindcss classes(try adding `text-red-500` class) in index.html file line 12.
4. You will see a change for removing classes but no change in adding classes.

### Expected behavior

Dev Server should reflect the class changes.
FredKSchott commented 3 years ago

@lukejacksonn this could be a good one to look at to get you started

verbose9 commented 3 years ago

@lukejacksonn this could be a good one to look at to get you started

are saying this in context of this issue?

drwpow commented 3 years ago

I believe this has been fixed in #3326, and will be available in the v3.5.0 release. Please see the updated docs to enable this new setting. Please give it a try and let me know if it fixes your problem!