Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Watch task to handle SVG files #1281

Merged
merged 1 commit into from
Jun 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down