0.5.3: Nodemon
Learning Objectives
Nodemon auto-refreshes Node applications on code changes, helpful for development
Introduction
Nodemon is an application that restarts our Node app every time we change a file that the app depends on. This is especially useful in development when we make frequent changes to our code. Without Nodemon we would need to manually quit and restart our app on code changes.
Usage
Install Nodemon globally to run Nodemon from all folders.
Run
nodemon
on the entry file of our app. When any app files changes, Nodemon will restart the app.