Nodemon
Explore how Nodemon automates restarting your Node.js server whenever code changes are made, reducing manual restarts and speeding up development. Learn to configure Nodemon through scripts and ignore files to enhance your server-side workflow.
We'll cover the following...
We'll cover the following...
In this lesson, we’ll learn about nodemon, a command-line interface (CLI) that automates a process by watching our project files. The nodemon CLI will immediately restart the process if there is a change. Nodemon’s CLI doesn’t require any code or structure changes. We can think of nodemon as a wrapper for the node command.
nodemon features
- Automatic rerunning: If we have a script that performs some logic and then exits. we can use
nodemonto watch the directory and run the script if there are any