I am creating a list of messages that show how long the message was sent.

This is my collection of messages.
Messages = new Mongo.Collection('messages');
Messages.attachSchema(new SimpleSchema({
created: {
type: Date
},
text: {
type: String
}
}));
this is my layout
{{#each messages}}
<li class="message">
<span class="message-text">{{text}}</span>
<span class="message-date">{{timeAgo created}}</span>
</li>
{{/each}}
This is my assistant
UI.registerHelper('timeAgo', function (context, options) {
if (context) {
return moment(context).fromNow();
}
});
How can I make my assistant update every minute? Now it does not respond if I do not enter a new message or refresh the page.
UPDATE
Meteor-livestap does just that.
source
share