Fast Refresh / Hot Reload not working with Next.js 15 and Tailwind CSS 4 — requires full page reload on changes #18180
Replies: 1 comment
-
Hey! I'm not seeing this behavior here. Editing components and CSS files works as expected. Can you provide a reproduction? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've created a fresh Next.js 15 project from scratch with the default configuration, integrating Tailwind CSS version 4 following the official setup guide.
However, fast refresh / hot reload is not working as expected:
Whenever I make any modification to components or styles, the page does not update automatically.
I have to manually refresh the entire page to see changes.
This severely impacts development productivity and debugging.
Steps to reproduce:
Create a new Next.js 15 project (npx create-next-app@latest)
Install and configure Tailwind CSS 4 with default settings
Start the development server (next dev)
Modify any component or style file
Observe that the page does not update automatically (no fast refresh)
Expected behavior:
Changes in component or style files should trigger a fast refresh / hot reload without a full page reload.
Actual behavior:
The browser requires a full manual reload to reflect changes.
Environment:
Next.js version: 15.x
Tailwind CSS version: 4.x
Node.js version: 20
OS: Windows 11
Beta Was this translation helpful? Give feedback.
All reactions