mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-21 07:46:58 +02:00
Watch data folder too
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user