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
But it didn't work since the nested directory segments are expected to match the include entries (eg. src is matched against src/app which doesn't match and therefore stops descending). Therefore I had to add separate entries for each level of nesting like this for it to work:
But it would potentially traverse too many directories that should be ignored. Maybe you can exclude some directories to reduce the amount of unnecessary checks, but it is not optimal.
I would consider the current behavior a bug.
If matchPath is true, then during traversal, it should also check if the current path is a partial of a path to include.
I have no time to fix it this week, but I would also be open to a pull request if you are interested.
I wanted to monitor files inside a nested directory. Let's say src/app/entities/*.ts.
I tried using something like:
But it didn't work since the nested directory segments are expected to match the include entries (eg. src is matched against src/app which doesn't match and therefore stops descending). Therefore I had to add separate entries for each level of nesting like this for it to work:
It might be that I am just missing something or the support for nested include folders could be improved to handle this case.
The text was updated successfully, but these errors were encountered: