A file watching library
Clojure
Latest commit dbbfd61 Mar 20, 2012 @ibdknox inc to 0.1.1
Signed-off-by: Chris Granger <ibdknox@gmail.com>
Permalink
Failed to load latest commit information.
src/watchtower fix to check whether file has extention or not Mar 18, 2012
test/watchtower/test initial import Nov 10, 2011
.gitignore
README.md Update README.md Mar 4, 2012
project.clj inc to 0.1.1 Mar 20, 2012

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.