Skip to content

Commit

Permalink
Fixed case sensitivity in file watch
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Dec 25, 2024
1 parent 602f85f commit 84e565e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void EnableWithDirectories(HashSet<FilePath> directories)
}
}

var filePathAsString = rootmostDirectory.Standardized;
var filePathAsString = rootmostDirectory.StandardizedCaseSensitive;
// Gum standard is to have a trailing slash,
// but FileSystemWatcher expects no trailing slash:
fileSystemWatcher.Path = filePathAsString.Substring(0, filePathAsString.Length - 1);
Expand Down

0 comments on commit 84e565e

Please sign in to comment.