Introduction to Express - Nodemon and Node Watch

Difficulty: Beginner
Duration: 7 minutes and 27 seconds
Students: 35
Rating: 3.6/5

In this lesson, you will learn how to use Nodemon and Node Watch to monitor coding changes in your Express application. One of the drawbacks to Express development is that any time code changes are made, the Express server needs to be restarted. Nodemon and Node Watch alleviate this problem by monitoring code changes and restarting the Express server when necessary.

Learning Objectives

  • Install Nodemon as a global package
  • Implement a node script to run a development server using Nodemon
  • Install Nodemon as a development dependency
  • Understand the difference between global and development packages
  • Learn what NPX is
  • Implement a node script to run Nodemon using npx
  • Learn about the experimental Node Watch feature
  • Implement a node script to run node–watch

Intended Audience

  • This lesson is intended for anyone who wants to learn about Express

Prerequisites

Covered Topics