kc-watch
v1.0.8
Published
[nodejs] Watch file changes.
Downloads
4
Readme
Watch
[nodejs] Watch file changes.
Install
npm install kc-watch
Use
var watch = require('kc-watch');
watch('.', function(d, f, e){
if (f.match(/\.js$/)) {
console.log(d, f, e);
}
});