Nodemon – “clean exit – waiting for changes before restart” during setup

Open the package.json file. Check for the name of the file for the main field.

In my case, it is {…,”main”: “app.js“,…}. This app.js is the primary entry point to the program. Now, try to start your server with the following command,

nodemon app.js

or

node app.js

Leave a comment

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