I am trying with very basic default application of Meteor leaderboard. I am want to do some process on every update on my page load. Tracker.autorun is calling only for first time but not for every updates. The templates are refreshing automatically but only the Autorun is not executing. I tested autorun with both autopublish and non autopublish mode but still it doesn't work. I am using meteor Meteor 1.1.0.2. Any solution?
if (Meteor.isServer) {
Meteor.publish("tasks", function () {
return Tasks.find();
});}
if (Meteor.isClient) {
Meteor.subscribe("tasks", function () {
console.log("On subscribe");
});
Tracker.autorun(function () {
console.log("On Load");
});}