Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A file watching library
Clojure
tree: 1616119800

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/watchtower
test/watchtower/test
.gitignore
README.md
project.clj

README.md

watchtower

A simple file/directory watcher library

Usage

(watcher ["src/" "resources/"]
  (rate 50) ;; poll every 50ms
  (file-filter ignore-dotfiles) ;; add a filter for the files we care about
  (file-filter (extensions :clj :cljs)) ;; filter by extensions
  (on-change #(println "files changed: " %)))

License

Copyright (C) 2011 Chris Granger

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

Something went wrong with that request. Please try again.