Tracker.autorun(function() {
DATA.find().observeChanges({
added: function(id, doc) {
console.log(doc);
}
});
});
This code is being called on the server. Every time the meteor server starts, the added
function fires for every single item in the database. Is there a way to have the added
callback fire only when new items are added?