Normally after making changes to your node file, Node requires you to restart the server before changes are been updated, this is not what you want to do always.
Nodemon has made this easier, A JavaScript library that detects changes in your file and restarts it aitomatically.
Setting up Nodemon is just as easy as any other NPM package.
npm install nodemon
To Run your file, You usually use node yourFile.js, but with nodemon all you have to type is.
nodemon yourFile.js
Or if an error shows up in your terminal like.
bash: nodemon: command not found
Then you can just run your file this way
npx nodemon server.js
Your Feedback is warmly welcomed
Thanks for reading.