link icon indicating copy to clipboard operation
link copied to clipboard

Configure FileSystemWatcher to only watch for relevant file extensions

Open e9gille opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. When linking a folder that contains both apl files and other files, link currently gets notified on events on all files. If the non-apl files get modified in batch, it leads to an overflow of events and Link reports that it has paused, prompting the user to issue a Refresh command.

Describe the solution you'd like Link should configure the FileSystemWatcher to only notify on events related to files it needs to know about.

Describe alternatives you've considered We could separate the files on disk so apl files are in their own folder, but it would still be good for link to only focus on relevant files.

Additional context I can see that the FileSystemWatcher on dotnet has a Filters property that could be used. In the Framework version the only option is to create multiple instances, one for each filter.

e9gille avatar Sep 12 '23 09:09 e9gille

We'd like this feature in v3.0

e9gille avatar Sep 12 '23 09:09 e9gille