Next.js 15 + Turbopack breaks TailwindCSS?
Does anyone else notice that TailwindCSS colors aren't applied in the hot reload until they magically get applied later? Even though I spam Ctrl+S/Cmd+S to save the file to reload the preview, TailwindCSS colors won't get applied.
You can replicate the phenomena by running
npm [email protected]
and enable tailwindcss
and turbopack
, then applying bg-color, text-color, and border border-color to any JSX.
1 Reply
UPDATE:
I opened localhost:3000 on Firefox instead of Safari and the TailwindCSS colors get applied instantly. Please check whether you can replicate the same behavior.