gmethvin / directory-watcher

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

Fix when copying&removing Folder Structure #38

Closed mangum99 closed 5 years ago

mangum99 commented 5 years ago

Fix for this issue: https://github.com/gmethvin/directory-watcher/issues/37

gmethvin commented 5 years ago

I don't think this is what you want. Storing hashes of directories in the map is useful to prevent duplicate events. This is why the test here is failing.