How did you cancel the session variable when reloading the hot code?
I have the following subscription code and you want to execute Session.set('score', '')when the hot code reloads.
Deps.autorun( function() {
Meteor.subscribe('score', Meteor.userId(), function() {
Session.set('score', new Date().getTime())
})
})
source
share