Skip to content
A Clojure directory watcher, wrapping the JDK 7 java.nio.file.WatchService.
Branch: master
Clone or download
Latest commit aefd7e0 Feb 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/juxt Merge pull request #15 from aceful/daemon-threads-fix Feb 21, 2019
test Some cleanups Jun 15, 2014
.gitignore Changed Maven group from pro.juxt to juxt, in line with other JUXT pr… Dec 24, 2013
LICENSE
README.md Update README with clojars badge Dec 30, 2015
project.clj Release 0.2.5 Feb 21, 2019

README.md

dirwatch

Watch directories for changes.

Similar to watchtower (but uses JDK 7 async notification mechanisms rather than polling)

Similar to ojo (but simpler, unlimited watchers allowed and directory recursive)

Installation

Add the following dependency to your project.clj file

Clojars Project

Usage

    (require '[juxt.dirwatch :refer (watch-dir)])

    (watch-dir println (clojure.java.io/file "/tmp"))

License

Copyright © 2013 JUXT.

Distributed under the Eclipse Public License, the same as Clojure.

You can’t perform that action at this time.