Auto-reload node.js (OS X)

restarter is a simple Python application which runs a specified command and restarts the command each time a file event occurs in a specified directory.

I created restarter because there isn't auto-reload functionality built into node.js (at the time of this post).

Example

[silas@pluto keyfu.js]$ restarter node keyfu.js
Express started at http://localhost:3000/ in development mode

Usage

Usage: restarter [options] command

Options:
  -h, --help     show this help message and exit
  --path=PATH    directory to watch for file event changes
  --ignore=PATH  specifies events to ignore

Licensing information is available on the about page, for additional questions or comments feel free to contact me.