Add a debounce delay so switching branches rebuilds.
This commit is contained in:
parent
514d68770f
commit
eb096b8290
@ -45,7 +45,7 @@ gulp.task("build", function () {
|
||||
});
|
||||
|
||||
gulp.task("watch", ["build"], function (callback) {
|
||||
watch(scripts, function () {
|
||||
watch(scripts, {debounceDelay: 200}, function () {
|
||||
gulp.start("build");
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user