-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
What version of Tailwind CSS are you using?
v2.1.1
What build tool (or framework if it abstracts the build tool) are you using?
vite 2.1.5
What version of Node.js are you using?
15.14.0
What browser are you using?
Chromium
What operating system are you using?
Linux, macOS
Reproduction repository
https://github.com/nachtjasmin/vite-tailwind-jit-bug
Describe your issue
When I am running vite in development mode, using vite or yarn dev, the page of my svelte component is correctly refreshed. However, the CSS does not change.
E.g. in the reproduction repo, when changing the background of the div in App.svelte from bg-blue-500 to bg-red-500 does not do anything, reverting this change shows the old css and therefore a blue rectangle. When restarting the build server, the correct css is generated.
Could be related to #3950.
Metadata
Metadata
Assignees
Labels
No labels