Nodemon restart slow for a custom server with Next.js

I am using Express.js as my custom server for Next.js. However, each server side change took me about 35s to restart, which made it almost impossible to do development. A bit dig up on google shows another blog post solving my issue, though i don’t have infinite loop issue. Also one note that from Next.js 8.0.2 there’s no more progress bar for build performance reason, so you would not be able to see server and client build time for diagnostic purpose. To bring it back, you can use this plugin.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *