-
Notifications
You must be signed in to change notification settings - Fork 31k
NextJS Hot Reload #30791
Copy link
Copy link
Closed
Labels
MiddlewareRelated to Next.js Middleware.Related to Next.js Middleware.bugIssue was opened via the bug report template.Issue was opened via the bug report template.
Metadata
Metadata
Assignees
Labels
MiddlewareRelated to Next.js Middleware.Related to Next.js Middleware.bugIssue was opened via the bug report template.Issue was opened via the bug report template.
Type
Fields
Give feedbackNo fields configured for issues without a type.
What version of Next.js are you using?
12.0.2
What version of Node.js are you using?
14.17.1
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
Local
Describe the Bug
NextJS keeps refreshing when code is updated, the log below shows what happens
I've read about the warning in other issues, but didn't have it prior to upgrading to next 12
while
_devMiddlewareManifestis new
couldn't reproduce due to the fact the project is actually big and was working fine prior to upgrading
any update is causing a refresh
Expected Behavior
The page shouldn't be refreshing
To Reproduce
Upgraded to next 12.0.2 and used a middleware in a subfolder (nothing else)