Moonlet
Moonlet is a (very) small utility that watches any specified file and restarts it when it is changed.
Install it globally(npm install -g moonlet
) so you can use the moonlet
command in the terminal or command line.
Run it exactly like you would with the node
command, except it automatically reloads the file you specified.
To exit, exit like you would in node(Ctrl-C twice).
Moonlet also has CoffeeScript support out of the box (moonlet example.coffee
).