You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to replace chokidars removed glob functionality, we have to use some trickery.
- `glob-parent` is used to get the common ancenstor dir that needs to be watched.
- `picomatch` is used as ignore-filter to make sure that only files/dirs are watched that match the given glob
- `is-glob` is used to only use glob logic when needed
In total this adds 4 direct or transitive dependencies. However, the update to chokidar v4 removes 12. So its a net positive
I also added a test to ensure that creation of nested directories is detected properly.
0 commit comments