Skip to content

Commit 835d9d2

Browse files
committed
Update default exclude regex
1 parent f5473d5 commit 835d9d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FireFS/Watcher/FileSystemWatcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ class FileSystemWatcher
9595
* @var array
9696
*/
9797
private $_patternExclude = array(
98-
"/^.+[\/\\\\]node_modules[\/\\\\].*$/",
99-
"/^.+[\/\\\\]\.git[\/\\\\].*$/"
98+
"/^.+[\/\\\\]node_modules[\/\\\\]?.*$/",
99+
"/^.+[\/\\\\]\.git[\/\\\\]?.*$/"
100100
);
101101

102102
/**

0 commit comments

Comments
 (0)