From 4dc11b075a5c02754e7e7fac8c04857a6089d48c Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Mon, 27 Aug 2018 15:17:00 +0200 Subject: [PATCH] Gulp: watch Pillar styles folder for changes and compile Sass --- gulpfile.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 0245b31..3e605c2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -29,6 +29,7 @@ var destination = { js: 'cloud/static/assets/js', } +var pillar = '../pillar/'; /* CSS */ gulp.task('styles', function() { @@ -103,6 +104,8 @@ gulp.task('watch',function() { } gulp.watch('src/styles/**/*.sass',['styles']); + gulp.watch(pillar + 'src/styles/**/*.sass',['styles']); + gulp.watch('src/templates/**/*.pug',['templates']); gulp.watch('src/scripts/*.js',['scripts']); gulp.watch('src/scripts/tutti/**/*.js',['scripts_concat_tutti']);