From ce2319eda1ac4ce6011dd966585550afc23c3f55 Mon Sep 17 00:00:00 2001
From: Fredrik Jonsson <frjo@xdeb.org>
Date: Wed, 10 Oct 2018 13:21:38 +0200
Subject: [PATCH] Bugfixes in gulpfile.

---
 gulpfile.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gulpfile.js b/gulpfile.js
index 40cb44a20..204395930 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -175,6 +175,8 @@ gulp.task('fonts', function copy () {
 gulp.task('collectstatic', function (collect) {
   exec('python manage.py collectstatic --no-post-process --noinput --verbosity 0', function (err, stdout, stderr) {
     collect(err);
+    // console.log(stdout);
+    // console.log(stderr);
   });
 });
 
@@ -203,9 +205,9 @@ gulp.task('watch:fonts', gulp.series('fonts', function watch () {
   return gulp.watch(options.theme.font + '**/*.*', options.gulpWatchOptions, gulp.series('fonts'));
 }));
 
-gulp.task('watch:static', gulp.series('collectstatic', function watch () {
+gulp.task('watch:static', function watch () {
   return gulp.watch(options.theme.dest + '**/*.*', options.gulpWatchOptions, gulp.series('collectstatic'));
-}));
+});
 
 gulp.task('watch', gulp.parallel('watch:css', 'watch:lint:sass', 'watch:js', 'watch:lint:js', 'watch:images', 'watch:fonts', 'watch:static'));
 
-- 
GitLab