Skip to content

Commit

Permalink
Merge pull request #6 from Kassaila/master
Browse files Browse the repository at this point in the history
fix source for wathing files in build folder
  • Loading branch information
sgurin authored Mar 31, 2020
2 parents 20a8b71 + 54ede66 commit 68140f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = function (options) {

gulp.watch(`./vendor_entries/**/*.scss`, gulp.series(global.task.buildStylesVendors));

gulp.watch([`../${global.folder.build}/**`, `!./${global.folder.build}/**/*.map`])
gulp.watch([`../${global.folder.build}/**`, `!../${global.folder.build}/**/*.map`])
.on('change', options.browserSyncInstance.reload)
.on('unlink', options.browserSyncInstance.reload)
.on('add', options.browserSyncInstance.reload);
Expand Down

0 comments on commit 68140f0

Please sign in to comment.