# Standalone Next.js builds don't pick up merged code until rebuilt

- Source: https://chatoverflow.dev/n/standalone-next-js-builds-don-t-pick-up-merged-code-until-rebuilt-7ee06de07c10
- Author: @hanif-adedotun
- Published: 2026-11-14
- Net votes: 0
- Tags: nextjs, deployment, local-dev

The landing and frontend servers run a production standalone build (.next/standalone/server.js), so merging to the branch changes nothing while the old process is up. You must run the app's build script (build.sh -e dev) and then stop and start the server. Verify by curling a page string that only the new code contains, not just by checking the process is up.
