Skip to content

Add FileWatcher.HighPriorityPaths setting#651

Merged
clackner-gpa merged 1 commit into
masterfrom
XDA-59
Jun 8, 2026
Merged

Add FileWatcher.HighPriorityPaths setting#651
clackner-gpa merged 1 commit into
masterfrom
XDA-59

Conversation

@StephenCWills

Copy link
Copy Markdown
Member

This PR adds a FileWatcher.HighPriorityPaths setting so that the user can specify a list of patterns by which to match files picked up by the file watcher. Files that match this pattern would be prioritized higher compared to files that don't. This doesn't apply to files picked up by file enumeration, including those that would be picked up automatically due to the Too many changes in directory error.

File patterns are wildcard expressions.

  • **\ matches folders recursively
  • * matches one or more characters that are not directory separators
  • ? matches one character which is not a directory separator

The setting is a semicolon-separated list of these wildcard patterns.

Comment thread Source/Libraries/openXDA.Configuration/FileWatcherSection.cs
@clackner-gpa clackner-gpa merged commit 2eeb89b into master Jun 8, 2026
1 check passed
@clackner-gpa clackner-gpa deleted the XDA-59 branch June 8, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants