]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
chore: update docs styles when SCSS change 11491/head
authorNicolas Coden <nicolas@ncoden.fr>
Tue, 4 Sep 2018 21:09:07 +0000 (23:09 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Tue, 4 Sep 2018 21:09:07 +0000 (23:09 +0200)
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

index d751d15f37c241667cc18f969254f40b61da15ad..47102436773dc8c7d71a1a462eda842f6bf3b2d5 100644 (file)
@@ -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));