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
Implement an extension method for IFileProvider that allows you to watch() for files, but using an include list and exclude list (of glob patterns, using DotNet.Glob
Have raised an issue to see if microsoft would consider putting this in the IFileProvider contract, as it allows more granular control of which files you are monitoring, which could be better for performance reasons: aspnet/FileSystem#253
The text was updated successfully, but these errors were encountered:
The way I see this working, is to call Watch() on the underlying provider for each include pattern. Then evaluate the exclude patterns after the change tokens from the underlying provider are signalled. To do this, I need to be able to tell which file triggered the change token. May not be possible.
Implement an extension method for
IFileProvider
that allows you to watch() for files, but using an include list and exclude list (of glob patterns, using DotNet.GlobHave raised an issue to see if microsoft would consider putting this in the IFileProvider contract, as it allows more granular control of which files you are monitoring, which could be better for performance reasons:
aspnet/FileSystem#253
The text was updated successfully, but these errors were encountered: