Skip to content

NextJS Hot Reload #30791

@mohux

Description

@mohux

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
_devMiddlewareManifest
is 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

image

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)

Metadata

Metadata

Assignees

Labels

MiddlewareRelated to Next.js Middleware.bugIssue was opened via the bug report template.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions