jedfoster / SassMeister

The Sass playground
http://sassmeister.com
199 stars 25 forks source link

After every release, display a notification "Sassmeister has updated, please refresh" #78

Closed lolmaus closed 10 years ago

lolmaus commented 10 years ago

I think it can be automated by storing version number so that it's available via AJAX GET and checking the version number with every page load. Or something...

jedfoster commented 10 years ago

What's the actual issue you're experiencing?

I added a "cache busting" feature last week that should force the browser to retrieve new copies of the CSS and JavaScript. Of course, that only works when you reload the page; sounds like you might be leaving an instance of SassMeister open all the time? (I do that with Feedbin, and occasionally strange things happen after their releases.)

I don't think I've released anything recently that would have broken a long-running instance, so more information would be welcome.

lolmaus commented 10 years ago

I had no SassBin pages opened. I opened SassBin, saved a gist and was surprised that it lacks the "clone your own gist" feature that you had been so kind to implement. I refreshed the page and the feature appeared.

I saw the "product has updated, please reload" feature in http://nirvanahq.com/ and it was convenient.