Watch data folder too

This commit is contained in:
Bryan Housel
2016-10-26 13:28:04 -04:00
parent b93e9f1a1a
commit 11c6868dea
+1 -1
View File
@@ -15,7 +15,7 @@ var building = false;
if (process.argv[2] === 'develop') {
build();
gaze('modules/**/**.js', function(err, watcher) {
gaze(['modules/**/*.js', 'data/**/*.{js,json}'], function(err, watcher) {
watcher.on('all', function() {
build();
});