nodemon: Automatically Restart Node.js Apps on File Changes

Summary
nodemon watches application files and restarts the running process when changes are detected. It helps Node.js developers shorten the edit-and-test loop without changing their application code.
At a glance
- Language
- JavaScript
- License
- MIT
- Stars
- 26.7k
- Forks
- 1.7k
- Added to OSRepos
- November 23, 2025
- Last analyzed
- October 3, 2026
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Overview
nodemon is a command-line wrapper for running Node.js applications during development. It monitors files and restarts the application when relevant changes are detected, avoiding the repeated manual cycle of stopping and restarting a server.
It suits developers who want an automatic development workflow while keeping their app's normal startup command and code unchanged. It can also run and monitor non-Node scripts when given an appropriate executable.
Key Features
- Restarts an application when watched files change.
- Wraps the usual application command, passing arguments through to the app.
- Supports watching selected directories and file extensions, and ignoring paths or patterns.
- Offers local and global configuration, with command-line options taking precedence.
- Allows a manual restart by entering
rswhile nodemon is running. - Supports restart delays, custom signals, and actions triggered by nodemon events.
- Can run non-Node programs with
--execand configured executable mappings.
Use Cases
- Node.js developers can keep a local server running and have it reload after source edits.
- Teams can add nodemon to an npm development script so contributors get a consistent restart workflow.
- Developers working with several source folders can specify exactly which directories and extensions should trigger a restart.
- Developers running a supported non-Node script can use nodemon to watch its files and rerun it after changes.
Project Facts
- Language: JavaScript
- License: MIT
- Stars: 26.7k
- Forks: 1.7k
- Topics: node, nodemon, watch
- Archived: no
Getting Started
Install globally with npm and run your application through nodemon:
npm install -g nodemon
nodemon ./server.js
For local installation, configuration, and CLI options, see the README.
Considerations
nodemon is a development aid, not a replacement for a production process manager. File watching behavior may need adjustment in networked or mounted-drive environments, where the project documents polling as an option and cautions that it can poll every file. Custom signal handling and restart behavior should be considered if the application needs graceful shutdown or cleanup.
Source repository
Open the original repository on GitHub.
19 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

gods-eye-view: Explore Live Data on a 3D Globe
September 23, 2026
God's Eye View combines public geospatial feeds on an interactive 3D globe, with tools for tracking aircraft, ships, satellites, weather and more. It is a locally run browser app for developers, researchers and curious users exploring spatial data.

Orkas: Coordinate AI Agent Teams from a Desktop App
September 13, 2026
Orkas is a local-first desktop app for directing a Commander and specialist AI agents from one chat. It suits people who want to coordinate research, document work, and coding tools locally, using their own model keys.

agenttrail: Observe AI Coding Agents Locally
September 3, 2026
Agenttrail turns local file changes and supported coding-agent activity into project maps and a 3D task view. It helps developers follow progress and spot work that needs attention without managing agents or sending data to a cloud service.

agent-skills: Give Coding Agents Engineering Workflows
August 14, 2026
A portable set of structured engineering workflows for AI coding agents, covering work from requirements and planning through testing, review, and release. Useful for teams that want agents to follow consistent quality and verification practices.