-
Notifications
You must be signed in to change notification settings - Fork 30.6k
Open
Labels
TurbopackRelated to Turbopack with Next.js.Related to Turbopack with Next.js.linear: turbopackConfirmed issue that is tracked by the Turbopack team.Confirmed issue that is tracked by the Turbopack team.
Description
Link to the code that reproduces this issue
https://github.com/tapeo/nextjs-podman-turbopack-repro
To Reproduce
- Install Podman on macOS Apple Silicon (
brew install podman) - Initialize the Podman machine:
podman machine init && podman machine start - Clone the reproduction repo and
cdinto it - Run the dev server inside a Podman container:
podman run -it --rm \
--name nextjs-repro \
-v "$(pwd):/usr/src/app:Z" \
-w /usr/src/app \
-p 3000:3000 \
node:20-slim sh -c "npm install && npm run dev"- Open http://localhost:3000
- Edit
src/app/page.tsxon the macOS host - Observe: no hot reload, no recompile triggered
- Manually reload the browser — still shows stale content
To confirm the volume mount works fine:
# In a second terminal while the container is running:
podman exec -it nextjs-repro cat /usr/src/app/app/page.tsx
# Edit the file on the host, re-run — the change IS visible inside the container
# This confirms the issue is Turbopack's watcher, not the volume mountCurrent vs. Expected behavior
Current:
Turbopack does not detect file changes made on the macOS host. No hot reload
occurs and a manual browser refresh still shows the old content. The dev server
console shows zero recompilation activity after saving a file.
Expected:
Turbopack should detect file changes and trigger a rebuild
Confirmed workaround:
Falling back to --webpack with WATCHPACK_POLLING=true fully restores both
hot reload and manual reload:
podman run -it --rm \
-e WATCHPACK_POLLING=true \
-v "$(pwd):/usr/src/app:Z" \
-w /usr/src/app \
-p 3000:3000 \
node:20-slim sh -c "npm install && npx next dev --webpack"Note: Docker Desktop works, Podman does not
Provide environment information
Operating System:
Platform: linux (Podman AppleHV VM)
Arch: arm64
Version: #1 SMP PREEMPT_DYNAMIC Sun Jan 11 17:13:10 UTC 2026
Available memory (MB): 1945
Available CPU cores: 4
Binaries:
Node: 20.20.0
npm: 10.8.2
Yarn: 1.22.22
pnpm: N/A
Relevant Packages:
next: 16.2.0-canary.73
react: 19.2.4
react-dom: 19.2.4
typescript: 5.9.3
Next.js Config:
output: N/A
Host machine:
Platform: darwin (macOS, Apple Silicon arm64)
Podman: 5.8.0 (brew)
VM type: AppleHV
Mount type: virtiofsWhich area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
TurbopackRelated to Turbopack with Next.js.Related to Turbopack with Next.js.linear: turbopackConfirmed issue that is tracked by the Turbopack team.Confirmed issue that is tracked by the Turbopack team.