hawk icon indicating copy to clipboard operation
hawk copied to clipboard

Clojure file and directory watcher using the JDK 7 java.nio.file.WatchService and Barbary WatchService

Results 14 hawk issues
Sort by recently updated
recently updated
newest added

Elaborates on top of #27. Fixed a refactoring bug turning `Path.resolve` into `clojure.core/resolve` and that prevented the test suite to run correctly. Can be merged as is and #27 discarded....

Fix reflection warnings. I'm trying to use this library in GraalVM. Not successful yet, but reflection warnings are gone.

I've reproduced the problem on Linux with the following directory structure (`mkdir -p A/{B,C}`): ``` +---A +---B \---C ``` Now watch dir `A` and run the following commands: ```bash cd...

Hawk is not detecting file changes in Linux running in WSL-2 I am running Clojure 1.10.1 in Debian in WSL 2 uname -a: ``` Linux ... 4.19.104-microsoft-standard #1 SMP Wed...

Calling `.setDaemon` with `true` on the watcher thread allows the JVM to exit even if the thread is still active, so it doesn't have to be explicitly shut down on...

If file is specified in the current working dir to watch like: `"foo.edn"`, then process will not watch this group at all. I think this is because `.getParentFile` is called...

Version: `[hawk "0.2.11"]` Thank you for this library! I'm trying this library with GraalVM and I see these reflection warnings. They probably have to be fixed to make it work...

Hello Will, I picked this library among others because it supports watching single files rather than directories (unlike other libraries like clojure-watch or juxt/dirwatch). However, I ran into an issue:...