最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Next.js Reload on Save - Stack Overflow

programmeradmin1浏览0评论

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?

Share Improve this question edited Oct 15, 2020 at 23:57 anon 8165 silver badges17 bronze badges asked Oct 15, 2020 at 16:47 ICWICW 5,8056 gold badges31 silver badges39 bronze badges 1
  • nextjs/docs/api-reference/cli#development – Tuhin Commented Oct 15, 2020 at 16:52
Add a ment  | 

2 Answers 2

Reset to default 6

Try 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.

发布评论

评论列表(0)

  1. 暂无评论