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