Skip to content

Commit

Permalink
Fix order of micromatch parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
abmaonline committed Apr 28, 2018
1 parent ccdecac commit 52ee49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/watcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Watcher {
log.debug('Changed:', localPath)

// Skip excluded.
if (exclude && mm([localPath], {dot: true}, exclude).length > 0) {
if (exclude && mm([localPath], exclude, {dot: true}).length > 0) {
return
}

Expand Down

0 comments on commit 52ee49b

Please sign in to comment.