Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on programming.dev
nextjs·Next.jsbygukkey

How to make my nextjs project hot reload (on save or change) without caching while running a dev build?

So currently the way I rerun my changes are either by deleting the .next folder or rerunning the npm run dev command because of nextjs' caching (even if I delete the cache on the browser the changes are not reflected). Is there a way to hot reload a nextjs project without using a 3rd party dependency but rather just a set of nextjs configs, just when running a dev build?

View original on programming.dev
6

1 reply

This is very untypical.. smth about your setup does not seem to be right, as nextjs in dev mode hot reloads automatically

1

You reached the end

How to make my nextjs project hot reload (on save or change) without caching while running a dev build? | Spyke