-
Notifications
You must be signed in to change notification settings - Fork 30.3k
Closed as not planned
Labels
MiddlewareRelated to Next.js Middleware.Related to Next.js Middleware.TurbopackRelated to Turbopack with Next.js.Related to Turbopack with Next.js.lockedplease simplify reproductionPlease simplify the reproduction.Please simplify the reproduction.staleThe issue has not seen recent activity.The issue has not seen recent activity.
Description
Link to the code that reproduces this issue
https://github.com/Chukwu3meka/waverd-client
To Reproduce
npm run dev- Edit any of the import statement that does not trigger full page reload, in this case our middleware.ts which can be found at the root of the project.
- Update
import AccountsService from "@services/accounts.service";toimport AccountsService from "services/accounts.service";you get an error 
- Now reverse that line change, and you can see that the error is no longer there but still visible at dev indicator which can be located at the footer.

Current vs. Expected behavior
Expected behaviour should be when error is fixed, it should also be cleared at the dev indicator and not only when a full page reload is triggered
Provide environment information
Operating System:
Platform: win32
Arch: x64
Version: Windows 11 Pro
Available memory (MB): 16082
Available CPU cores: 12
Binaries:
Node: 22.14.0
npm: 10.9.2
Yarn: N/A
pnpm: 10.4.1
Relevant Packages:
next: 15.2.1 // Latest available version is detected (15.2.1).
eslint-config-next: N/A
react: 19.0.0
react-dom: 19.0.0
typescript: N/A
Next.js Config:
output: N/AWhich area(s) are affected? (Select all that apply)
Middleware, Turbopack, Runtime
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
I started noticing this after upgrading to next 15.2.1 from 15.2.0
Metadata
Metadata
Assignees
Labels
MiddlewareRelated to Next.js Middleware.Related to Next.js Middleware.TurbopackRelated to Turbopack with Next.js.Related to Turbopack with Next.js.lockedplease simplify reproductionPlease simplify the reproduction.Please simplify the reproduction.staleThe issue has not seen recent activity.The issue has not seen recent activity.