Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Recursive node.js watching that doesn't suck
CoffeeScript JavaScript
branch: master

This branch is 118 commits behind bevry:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
docs
lib
README.md
package.json

README.md

Watchr. Node.js file watching that doesn't suck.

Watchr is simple, you call require('watchr').watch(path,function(){console.log('something changed inside the directory')})

To install npm install watchr

It works with node.js 0.4, 0.5 and 0.6. It will use fs.watchFile if available, otherwise it will use fs.watch (e.g. windows support).

The fs.watch functionality is currently quite buggy - node.js returns segmentation faults here and there, but that is due to bugs in node.js. Sigh. Anyway, Enjoy.

License

Licensed under the MIT License Copyright 2011 Benjamin Arthur Lupton

Something went wrong with that request. Please try again.