I notice that when I do an update to the app (app deployed using node via meteor build), at times the client doesn’t do a refresh and is actually not connected to the server anymore. How do I detect this in the client side a do a reconnection or a force refresh?
Take a look here: http://docs.meteor.com/#/full/meteor_status
You can use Meteor.status()
on the client to get the connection status and Meteor.reconnect()
to force a reconnection if the client is not already connected.
1 Like
So if the client isn’t updated anymore (you upload an updated copy of the meteor node app), the client can detect this and do a refresh no?