Nodemon
Let’s find out about the importance of Nodemon.
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