From: Nicolas Coden Date: Tue, 4 Sep 2018 21:09:07 +0000 (+0200) Subject: chore: update docs styles when SCSS change X-Git-Tag: v6.6.0~3^2~98^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f74c6f7db;p=thirdparty%2Ffoundation%2Ffoundation-sites.git chore: update docs styles when SCSS change Documentation styles uses the SCSS mixins/functions, so they must be recompiled when the SCSS change. Introduced in https://github.com/zurb/foundation-sites/pull/11454 --- diff --git a/gulpfile.js b/gulpfile.js index d751d15f3..471024367 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -27,7 +27,7 @@ gulp.task('serve', gulp.series('build', function(done){ gulp.task('watch', function() { gulp.watch('docs/**/*', gulp.series('docs', browserReloadSync)); gulp.watch(['docs/layout/*.html', 'docs/partials/*{html,hbs}', 'docs/assets/partials/*{html,hbs}', 'node_modules/foundation-docs/templates/*{html,hbs}'], gulp.series('docs:all', browserReloadSync)); - gulp.watch('scss/**/*', gulp.series('sass:foundation', browserReloadSync)); + gulp.watch('scss/**/*', gulp.series('sass', browserReloadSync)); gulp.watch(['docs/assets/scss/**/*', 'node_modules/foundation-docs/scss/**/*'], gulp.series('sass:docs', browserReloadSync)); gulp.watch('js/**/*', gulp.series('javascript:foundation', browserReloadSync)); gulp.watch(['docs/assets/js/**/*', 'node_modules/foundation-docs/js/**/*'], gulp.series('javascript:docs', browserReloadSync));