From f74c6f7dba5e9c4c57e48318d4e1631ede4f6f90 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Tue, 4 Sep 2018 23:09:07 +0200 Subject: [PATCH] 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 --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.47.2