From 862dbf15fab73bdfa243677665a19c24e43aee1b Mon Sep 17 00:00:00 2001 From: Quentin Dreyer Date: Sun, 18 Feb 2018 12:31:22 +0100 Subject: [PATCH] Fixed #18 https://facebook.github.io/watchman/docs/expr/match.html#wildmatch --- src/subscribe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subscribe.js b/src/subscribe.js index ab0a28b..1f80701 100644 --- a/src/subscribe.js +++ b/src/subscribe.js @@ -9,7 +9,7 @@ module.exports = function (params) { var sub = { expression: [ 'allof', - ['match', '*'], + ['match', '*', 'basename', {'includedotfiles': true}], ], fields: ['name', 'size', 'exists', 'type'] };