Currently my application, running on next and built with React, only reloads when I run next build
and restart the server. Why is this happening, how do I reload without having to do a production build?
Currently my application, running on next and built with React, only reloads when I run next build
and restart the server. Why is this happening, how do I reload without having to do a production build?
- nextjs/docs/api-reference/cli#development – Tuhin Commented Oct 15, 2020 at 16:52
2 Answers
Reset to default 6Try running next dev
or npm run dev
in the terminal.
Sometime it also happen when error occured. check log (npm run dev) if there is any error fix it.