A fast implementation of nodemon in Rust. This tool automatically restarts your Node.js application when file changes are detected.
- Fast file watching using Rust's native file system events
- Support for file extension filtering
- Configurable delay between restarts
- Custom execution command support
- Written in Rust for better performance
npm install -g nodemon-rsBasic usage:
nodemon-rs app.jsWith options:
nodemon-rs --ext=js,mjs,json --ignore=node_modules,dist --exec=node --delay=1.0 app.js--ext: File extensions to watch (comma-separated), default: "js,mjs,json"--ignore: Patterns to ignore (comma-separated), default: []--exec: Command to execute (default: "node")--delay: Delay in seconds before restarting (default: 1.0)
- Clone the repository
- Install dependencies:
npm install- Build the Rust code:
npm run build- Run tests:
npm test- Local development:
# Link the package globally
npm link
# Now you can use nodemon-rs from anywhere
nodemon-rs your-app.jsMIT