gmethvin / directory-watcher

A cross-platform Java recursive directory watcher, with a JNA macOS watcher and Scala better-files integration
Apache License 2.0
264 stars 34 forks source link

Always use absolute paths #85

Closed gmethvin closed 1 year ago

gmethvin commented 1 year ago

We initialize the hash map using the paths as keys, so we want all paths to be absolute to make sure they match the paths returned by the watch service. This might be a fix for #55