From 501ef690bfd4180d1522066590847075d9a49c05 Mon Sep 17 00:00:00 2001 From: freek Date: Mon, 31 Jul 2017 23:52:55 +0200 Subject: [PATCH] fix performance problem --- src/WatcherFactory.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/WatcherFactory.php b/src/WatcherFactory.php index 784a312..5dfd89b 100644 --- a/src/WatcherFactory.php +++ b/src/WatcherFactory.php @@ -11,6 +11,8 @@ public static function create(array $options = []): array $options = static::mergeWithDefaultOptions($options); $finder = (new Finder()) + ->ignoreDotFiles(false) + ->ignoreVCS(false) ->name($options['watch']['fileMask']) ->files() ->in($options['watch']['directories']);