-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Description
What version of Tailwind CSS are you using?
v4.0.15 (latest)
What build tool (or framework if it abstracts the build tool) are you using?
Vite 6.2.2 (latest)
Reproduction URL
https://codesandbox.io/p/devbox/x3r86q
Describe your issue
Initial setup:
- Import Tailwind and another CSS file(s) into the root CSS file
Steps to reproduce:
- Edit
index.html(may be a change to JS/JSX files too) - Edit
imported.css - Outdated CSS will be served until another change to
index.htmlorindex.cssis made, or until the server is restarted. Page refresh doesn't serve the latest CSS either.
CSS changes work fine without @import "tailwindcss". It also works when using @tailwindcss/postcss instead of the Vite plugin.
Might be related
#16764
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels