Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Recursive node.js watching that doesn't suck

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 docs
Octocat-spinner-32 lib
Octocat-spinner-32 README.md
Octocat-spinner-32 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.