HMR doesn't work on parallel routes while using turbopack #65836
Labels
bug
Issue was opened via the bug report template.
linear: turbopack
Confirmed issue that is tracked by the Turbopack team.
Parallel & Intercepting Routes
Related to Parallel and/or Intercepting routes.
Turbopack
Related to Turbopack with Next.js.
Link to the code that reproduces this issue
https://github.com/azvyae/turbopack-parallel-routes-hmr-bug
To Reproduce
--turbo
flagnpm run dev
localhost:3000
localhost:3000/parallel
PS: Interestingly, if there is only one folder of parallel route (e.g, only @foo/page.tsx or @bar/page.tsx) exist on the app, the problem is not gonna happen.
Current vs. Expected behavior
Current: HMR doesn't work in parallel routes
Expected: The page inside the parallel routes should be updated with HMR if there's an update in the component file.
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 Available memory (MB): 15707 Available CPU cores: 20 Binaries: Node: 20.12.1 npm: 10.5.0 Yarn: N/A pnpm: 9.1.1 Relevant Packages: next: 14.3.0-canary.63 // Latest available version is detected (14.3.0-canary.63). eslint-config-next: N/A react: 19.0.0-beta-4508873393-20240430 react-dom: 19.0.0-beta-4508873393-20240430 typescript: 5.1.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Parallel & Intercepting Routes, Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response
The text was updated successfully, but these errors were encountered: