Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2014
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (watcher/watcher ["resources/"]
  2.                      (watcher/rate 50) ; poll every 50ms
  3.                      (watcher/on-change (fn [file] (do (println "file changed: " file)
  4.                                           ;(use 'de.sveri.clj.adspread :reload) ;as soon as I uncomment this, the anonymous function is not called anymore
  5. ))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement