From 98eea76195402b0908c7462eb6d40d779fb81a44 Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Thu, 10 Sep 2015 22:46:07 -0600 Subject: [PATCH] Do not test on gulp watch --- gulpfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 42fd09b09..c430de205 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -176,7 +176,10 @@ function moduleSizesTask() { } function watchTask() { - gulp.watch('./src/**', ['build', 'unittest', 'unittestWatch']); + if (util.env.test) { + return gulp.watch('./src/**', ['build', 'unittest', 'unittestWatch']); + } + return gulp.watch('./src/**', ['build']); } function serverTask() {