From eb096b8290a997b5cc7ab3315679430f69cf5dcb Mon Sep 17 00:00:00 2001 From: Logan Smyth Date: Wed, 16 Mar 2016 22:07:02 -0700 Subject: [PATCH] Add a debounce delay so switching branches rebuilds. --- Gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gulpfile.js b/Gulpfile.js index 73643c962e..54f20cafb8 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -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"); }); });