1.0.8 • Published 3 years ago
kc-watch v1.0.8
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);
}
});
nodejs Watch file changes.
npm install kc-watch
var watch = require('kc-watch');
watch('.', function(d, f, e){
if (f.match(/\.js$/)) {
console.log(d, f, e);
}
});