Skip to content

Commit

Permalink
Merge pull request #37 from abmaonline/Fix-micromatch-parameter-order
Browse files Browse the repository at this point in the history
Fix order of micromatch parameters
  • Loading branch information
gavoja authored Jul 2, 2018
2 parents ccdecac + 52ee49b commit ed0c8f2
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 ed0c8f2

Please sign in to comment.