I'm playing with clutch and couchdb as I read about both of them in
Clojure Programming by Chas Emerick et al. I'm trying to run the
example of the _changes API using clutch/watch-changes. It just don't
work and I can't figure out a way to debug what's going on. I'm using
a cloudant (
cloudant.com) account.
My database meta looks like this:
(def mymeta {:host "
myaccount.cloudant.com" :username
"username" :password "password"})
I'm calling watch-changes like this:
(clutch/watch-changes mymeta :echo (partial println "change:"))
It returns successfully. However, I create new documents, but nothing
is printed.
Could that be related to using cloudant? Any suggestions on how to
debug it?
Tks
Rui