I have developed some background processes (nodejs) to listen for document changes to do unique specific actions. My program is composed of a nodejs robot process using
cradle modules (based on follow) to listen for sync-gateway changes + my app bucket shadowing. The fact is, I get new change in my tap feed when mobile synchronize data (it's ok) but also when this same data is replicated in the shadowing bucket (causing my robot to act twice on the same data because sometimes the change feed catches this event to).