From 80591555ee9128598a5c4502b5cbb440c027f2c3 Mon Sep 17 00:00:00 2001 From: Julian Weiland Date: Tue, 12 Jun 2018 13:58:58 +0200 Subject: [PATCH] Watch task added to handle SVG files. According to my issue #1280 https://github.com/olefredrik/FoundationPress/issues/1280 --- gulpfile.babel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 7ccb50275..8c655cff2 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -230,6 +230,7 @@ function watch() { .on('change', path => log('File ' + colors.bold(colors.magenta(path)) + ' changed.')) .on('unlink', path => log('File ' + colors.bold(colors.magenta(path)) + ' was removed.')); gulp.watch('src/assets/images/**/*', gulp.series(images, browser.reload)); + gulp.watch('src/assets/images/**/*.svg', gulp.series(copy, browser.reload)); } // Build the "dist" folder by running all of the below tasks