From: Hendrik Röhm Date: Thu, 1 Nov 2018 15:26:20 +0000 (+0100) Subject: Remove dead and broken code from gulpfile (#5794) X-Git-Tag: v2.8.0-rc.1~124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=820d28907bbaaddb4f6ce980f519bf2da3073053;p=thirdparty%2FChart.js.git Remove dead and broken code from gulpfile (#5794) 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. --- diff --git a/gulpfile.js b/gulpfile.js index daba620f0..49fd66ade 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']); }