From 52ee49be8d61da1b6accf3b05967e961ab240b77 Mon Sep 17 00:00:00 2001 From: Matthijs Abma <4146168+abmaonline@users.noreply.github.com> Date: Sat, 28 Apr 2018 11:36:20 +0200 Subject: [PATCH] Fix order of micromatch parameters --- src/watcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }