$ npm install monocle
Have you ever wanted to watch a folder and all of its files/nested folders for changes. well now you can!
npm install monocle
var Monocle = require('monocle')
(new Monocle).watchDirectory(dir, cb, watchSetupComplete, fileFilers, directoryFilters);
the callback gets the filename that was modified
© 2010 - cnpmjs.org x YWFE | Home | YWFE