Skip to content

Commit

Permalink
Merge pull request #212 from tamb/patch-1
Browse files Browse the repository at this point in the history
Update autoreload.js
  • Loading branch information
purplecabbage authored Aug 8, 2019
2 parents e02d4fa + 40c142e commit 4656cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleware/autoreload.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = function(options) {
// enable AutoReload
if (options.autoreload) {
var watch = chokidar.watch(watches, {
ignored: /[\/\\]\./,
ignored: /([\/\\]\.)|(node_modules)|(\/node_modules)/gm,
ignoreInitial: true,
persistent: true
});
Expand Down

0 comments on commit 4656cce

Please # to comment.