# node-dev **Repository Path**: mirrors_alexgorbatchev/node-dev ## Basic Information - **Project Name**: node-dev - **Description**: Zero-conf Node.js reloading - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-07-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README About ===== Node-dev is a development tool for [Node.js](http://nodejs.org) that automatically restarts the node process when a script is modified. With node-dev you don't have to manually specify which files should be watched nor do you have to deal with ignore lists for files that should be excluded. This is done using a thin wrapper script that hooks into the `require()` function as well as into several methods of the [VM](http://nodejs.org/docs/latest/api/vm.html) module to determine which files need to be monitored. This does not only work for _.js_ files, but also for _.json_ or _.node_ or _.coffee_ files or any other custom extension that has been added to `require.extensions`. Another great benefit of this zero-config approach is that it doesn't cause __any unnecessary restarts__ when for example client-side only scripts are modified. Desktop Notifications ===================== Status and error messages are displayed as desktop notification using either [Growl](http://growl.info/about.php) or [libnotify](http://developer.gnome.org/libnotify/). ![Screenshot](http://fgnass.github.com/images/node-dev.png) ![Screenshot](http://fgnass.github.com/images/node-dev-linux.png) Usage ===== Simply use the `node-dev` binary as you would normally use `node`. __Note:__ All arguments are passed on to the child-process. `node-dev --debug app.js` will debug your application, not the supervisor itself. You may also use node-dev with [CoffeeScript](http://http://coffeescript.org/) apps. Just run `node-dev app.coffee` -- that's all. Installation ============ Node-dev can be installed via [npm](http://github.com/isaacs/npm): npm install -g node-dev This will install `node-dev` and make it globally available (note the `-g` option). In order to use Growl notifications [growlnotify](http://growl.info/extras.php#growlnotify) must be installed on your system. Settings ======== You can set the `NODE_DEV_CLEARSCREEN` environment variable to `true` if in order to automatically clear the terminal screen upon restarts. You can also set `NODE_DEV_IGNORE` environment variable to a list of paths separated by `:`. All files inside these paths will be ignored. Contributors ============ * [Ricardo Tomasi](https://github.com/ricardobeat) (CoffeeScript support) * [Sergey Ovechkin](https://github.com/pomeo) (libnotify support) * [Alex Gorbatchev](https://github.com/alexgorbatchev) (`NODE_DEV_IGNORE` support)