Skip to content

Commit

Permalink
Update gulp watch task to watch .mjs files
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanita Barrett-Smith committed Jun 15, 2022
1 parent 017119a commit 6ca275b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/gulp/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ const configPaths = require('../../config/paths.json')
// ---------------------------------------
gulp.task('watch', () => Promise.all([
gulp.watch([configPaths.src + '**/**/*.scss', configPaths.app + 'assets/scss/**/*.scss', configPaths.fullPageExamples + '**/*.scss'], gulp.parallel('styles', 'sassdoc')),
gulp.watch([configPaths.src + '**/**/*.js'], gulp.series('scripts'))
gulp.watch([configPaths.src + '**/**/*.mjs'], gulp.series('scripts'))
]))

0 comments on commit 6ca275b

Please sign in to comment.