Created
June 24, 2014 04:00
-
-
Save floatdrop/0af82264539b785fa9c3 to your computer and use it in GitHub Desktop.
Gaze test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Do `npm i gaze` before running this | |
var gaze = require('gaze'); | |
// Watch all .js files/dirs in process.cwd() | |
gaze('src/images/**/*', function(err, watcher) { | |
this.on('all', function(event, filepath) { | |
console.log(filepath + ' was ' + event); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment