chrome and firefox extensions currently only auto update after a browser relaunch. See slack thread discussion: https://wdynhnkxvsdx.slack.com/archives/C03NL32FWQL/p1678193221407199. This is because we are running a persistent background process that the browser respects over updating.
PR fixes this by listening for an update available and then reloading the extension.
It waits a random time within the next hour to apply the update. This is to avoid all clients disconnecting and reconnecting at the same time.
chrome and firefox extensions currently only auto update after a browser relaunch. See slack thread discussion: https://wdynhnkxvsdx.slack.com/archives/C03NL32FWQL/p1678193221407199. This is because we are running a persistent background process that the browser respects over updating.
PR fixes this by listening for an update available and then reloading the extension.
It waits a random time within the next hour to apply the update. This is to avoid all clients disconnecting and reconnecting at the same time.