We are currently working on a feature to display the connection status in our app:
this.helpers({
userBlock: () => {
//...
return {
name: name,
connectionStatus: Meteor.status().connected
}
}
});
Unfortunately, we are facing an issue where the helper does not re-run after the server is disconnected. Even outputting the Meteor.status().connected
variable directly into the template using both $scope and controller reference does not reflect any updates. Are there any suggestions on how we can make the helper re-run when there is a change in Meteor.status().connected
?