You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
I don't remember if we've discussed before, but tailwindcss can't seem to track new files due to limitations of
this.addWatchFile
:vite/packages/vite/src/node/plugins/css.ts
Lines 1433 to 1444 in fe30349
I'm not sure if we want to special case this, or leave it to tailwind's next major to possibly fix things.
Found this from withastro/astro#12255
Related: #15460 (but not exactly the same I think)
Reproduction
https://stackblitz.com/edit/vitejs-vite-nk6bcl?file=index.html&terminal=dev
Steps to reproduce
index.html
and create a newfoo.html
at the root for example and paste the content in it.text-red-500
in the pasted content to something else new, liketext-green-500
After a full server restart and reload the page, the color is then correctly applied
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: