link
link copied to clipboard
Configure FileSystemWatcher to only watch for relevant file extensions
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.
We'd like this feature in v3.0