DEV Community

Discussion on: NextJS Tip: Hot reloading for dynamic servers

Collapse
 
ebsalberto profile image
Eduardo Alberto

Good one.

Quick correction: you shouldn't use -w on your package.json or it'll ignore your nodemon.json config.

Collapse
 
peacefulseeker profile image
Alexey Vorobyov

Yeah, should not it be just nodemon server.js to start up the main server file and it will trigger server reload
in case any of specified files in nodemon.json were altered?