I have a Next.js project that has been a real delight to work on until recently when changes stopped showing up in the browser. Normally the browser hot reloads, but now even hitting refresh won't show changes to the code—I have to shut down the dev server and run npm run dev
again to get the changes to show up. This doesn't happen in all my Next.js projects—just one of them.
I've tried deleting the .next/
directory, but that didn't fix the problem. Any other ideas of where I could look to get this back to normal?
- Next 12.1.0
- Node 14.18.1
- macOS 12.3