Comment

Comment by ChemicalWarfare

Sounds like a workable solution.

That said, the way I would've architected this is I'd include a build version # into the distro and provided a checkVersion backend service that would return the current build version # for the client side logic to compare it's build # to.

And if you want to go an extra mile maybe a shouldRefresh service that would only return "true" if the changes that were made require a refresh on the client side.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton