Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure FileSystemWatcher to only watch for relevant file extensions #587

Open
e9gille opened this issue Sep 12, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@e9gille
Copy link
Collaborator

e9gille commented Sep 12, 2023

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 e9gille added the enhancement New feature or request label Sep 12, 2023
@e9gille
Copy link
Collaborator Author

e9gille commented Sep 12, 2023

We'd like this feature in v3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant