Can no longer pass a pattern into chokidar.watch #1423
Answered
by
43081j
mdodge-ecgrow
asked this question in
Q&A
-
|
I've just upgraded my project to chokidar v4 from v3. Now I can't get it to work unless I remove the '/*.json' part. I've also tried this: |
Beta Was this translation helpful? Give feedback.
Answered by
43081j
Apr 16, 2025
Replies: 1 comment
-
|
That is true. 4.x dropped support for globs. There's ongoing work elsewhere to at least document how you can use something like tinyglobby in combination with chokidar to get what you used to have. Though it isn't quite there yet |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mdodge-ecgrow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That is true.
4.x dropped support for globs.
There's ongoing work elsewhere to at least document how you can use something like tinyglobby in combination with chokidar to get what you used to have. Though it isn't quite there yet