A simple directory watching script that will compute the checksum for all files within a path and execute a change when the sum changes. Allows for callbacks when files change in a directory.
JavaScript Perl Ruby
Latest commit ff18887 Jan 29, 2013 @aroemen updated module export
Permalink
Failed to load latest commit information.
build initial commit Jan 29, 2013
.gitattributes initial commit Jan 29, 2013
.gitignore initial commit Jan 29, 2013
README.md updated readme Jan 29, 2013
njs-watch.js updated module export Jan 29, 2013
njs-watch.sublime-project initial commit Jan 29, 2013
package.json updated module export Jan 29, 2013

README.md

Node.js Watch

A simple directory watching script that will compute the checksum for all files within a path and execute a change when the sum changes. Allows for callbacks when files change in a directory.

Usage:

monitor(__dirname + '/build', function(){
    console.log('updated');
});

Licenced under MIT. For more information, http://opensource.org/licenses/MIT