# Nodemon

> Use this skill when the user wants to auto-restart Node.js applications on file changes.

- Skill: `javimosch/nodemon` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/nodemon`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/nodemon/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/nodemon

---


# Nodemon Plugin

Monitor for changes and automatically restart Node.js applications.

## Commands

### Application Monitoring
- `nodemon script watch` — Watch and restart Node.js application

## Usage Examples
- "nodemon script watch --script index.js"
- "nodemon script watch --script index.js --watch src/"

## Installation

```bash
npm install -g nodemon
```

## Examples

```bash
# Watch default entry point
nodemon

# Watch specific script
nodemon index.js

# Watch specific directory
nodemon --watch src

# Watch specific file extensions
nodemon --ext js,json

# Ignore specific files/directories
nodemon --ignore lib

# Run with custom exec
nodemon --exec babel-node

# Delay restart
nodemon --delay 2

# Verbose output
nodemon -V

# Use config file
nodemon --config nodemon.json
```

## Key Features
- Automatic restart on file changes
- Customizable watch patterns
- File extension filtering
- Ignore patterns
- Custom execution commands
- Configurable via nodemon.json
- Development-only tool

