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

Commit

Permalink
Merge pull request #1281 from derweili/patch-3
Browse files Browse the repository at this point in the history
Watch task to handle SVG files
  • Loading branch information
olefredrik authored Jun 12, 2018
2 parents c4a1b5c + 8059155 commit c656a6a
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit c656a6a

Please sign in to comment.