diff --git a/src/watcher.js b/src/watcher.js index ed560f6..c1bf03e 100644 --- a/src/watcher.js +++ b/src/watcher.js @@ -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 }