You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the watch-changes feature doesn't always work.
With 0.2.5 I used it successfully on my development database running on the same machine but I was unable to use it in production with the database running on a separate machine.
With 0.3.0-SNAPSHOT I wasn't able to get it working on either a local development database or a remote production one.
In both cases the watch-changes function ran successfully and changes-error came back empty.
Just to clarify, you say that watch-changes ran successfully — do you mean that that particular call succeeded, but your callback function (println in your examples) was never called?
Were there any stack traces, either on the Clojure or couchdb side?
I've just tested out the new version of clutch, watch-changes works again with a local database but I still can't get it working with a remote one. I guess there's a second bug somewhere :(
Damn, you're right. Confirmed with Cloudant. The HTTP agent that sits on the _changes feed is disconnecting for some bizarre reason, but not when connected to localhost. :-/
I've noticed that the watch-changes feature doesn't always work.
With 0.2.5 I used it successfully on my development database running on the same machine but I was unable to use it in production with the database running on a separate machine.
With 0.3.0-SNAPSHOT I wasn't able to get it working on either a local development database or a remote production one.
In both cases the
watch-changes
function ran successfully andchanges-error
came back empty.Here's a snippet showing what I did:
Cheers, Dave.
The text was updated successfully, but these errors were encountered: