Open cowwoc opened 1 month ago
Sure, AutoCloseable
itself should be a pretty easy PR, but actually it looks like watch()
already closes the watcher at the end. We probably want to standardize when it closes for you automatically and when you need to do it yourself.
Consider making DirectoryWatcher implement AutoCloseable