# 0.5.3: Nodemon

## Learning Objectives

1. Nodemon auto-refreshes Node applications on code changes, helpful for development

## Introduction

[Nodemon](https://www.npmjs.com/package/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

1. Install Nodemon globally to run Nodemon from all folders.

   ```
   npm i -g nodemon
   ```
2. Run `nodemon` on the entry file of our app. When any app files changes, Nodemon will restart the app.

   ```
   nodemon index.js
   ```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bc.rocketacademy.co/0-foundations/0.5-node.js/0.5.3-nodemon.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
