Merge remote-tracking branch 'origin/v8/bugfix/gulp-update-inline-views-on-watch' into v8/feature/block-editor-list
This commit is contained in:
@@ -33,18 +33,14 @@ function watchTask(cb) {
|
||||
var viewWatcher;
|
||||
_.forEach(config.sources.views, function (group) {
|
||||
if(group.watch !== false) {
|
||||
viewWatcher = watch(group.files, { ignoreInitial: true, interval: watchInterval }, function() {
|
||||
|
||||
console.log("copying " + group.files + " to " + config.root + config.targets.views + group.folder);
|
||||
|
||||
return parallel(
|
||||
viewWatcher = watch(group.files, { ignoreInitial: true, interval: watchInterval },
|
||||
parallel(
|
||||
function MoveViewsAndRegenerateJS() {
|
||||
return src(group.files).pipe( dest(config.root + config.targets.views + group.folder) );
|
||||
},
|
||||
js
|
||||
)();
|
||||
|
||||
});
|
||||
)
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user