From 2868284dd480a6aaa126634d2aef9ac4f80ef1c2 Mon Sep 17 00:00:00 2001 From: Hendrik Roehm Date: Sat, 27 Oct 2018 08:14:27 +0200 Subject: [PATCH] Remove dead and broken code from gulpfile In commit c216c0af76, the task unittestWatch was removed. However, the watch task links to it, when executed with the test flag. As watching the unittest is possible with `gulp unittest --watch`, this code is not needed anymore and thus removed. --- gulpfile.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index daba620f0f5..49fd66ade16 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -233,9 +233,6 @@ function moduleSizesTask() { } function watchTask() { - if (util.env.test) { - return gulp.watch('./src/**', ['build', 'unittest', 'unittestWatch']); - } return gulp.watch('./src/**', ['build']); }