Tailwind v4 persistent cache stuck on CSS syntax errors in Next.js dev (Turbopack & Monorepo)
When a CSS file (especially referenced via @reference or @import across packages) contains a syntax error, Next.js caches the error state. After fixing the syntax error, the dev server continues serving the cached error, requiring manual deletion of .next and restart. The issue occurs with both Turbopack and Webpack, and is more severe in monorepos.
