How to Automatically Reload a Node.js Server with Nodemon
Nodemon is an open-source utility tool that helps automatically restart a Node server whenever a change in code is detected in development. In this lesson, we'll install Nodemon and introduce an application script that will start the Node server with Nodemon.
Automatic Reloading Using Nodemon
π This lesson's quiz can be found - here.
ποΈ Solutions for This lesson's quiz can be found - here.
When developing our server application, there are going to be a lot of changes we're going to make to our code. We probably don't want to stop our running server and restart it every single time we make an update. Wouldn't it be nice if there was a third-party tool that did that for us? Well, there is, and it's called Nodemon!
This lesson preview is part of the The newline Guide to Building Your First GraphQL Server with Node and TypeScript course and can be unlocked immediately with a \newline Pro subscription or a single-time purchase. Already have access to this course? Log in here.
Get unlimited access to The newline Guide to Building Your First GraphQL Server with Node and TypeScript, plus 90+ \newline books, guides and courses with the \newline Pro subscription.
