LivePage icon indicating copy to clipboard operation
LivePage copied to clipboard

Add option for a "soft" refresh

Open xsrvmy opened this issue 7 years ago • 1 comments

At the moment, when a page updates, a hard refresh (CTRL-F5) is triggered. For remote development, this isn't necessarily a problem, but for local development, the refresh will fail when internet connection is poor or unavailable. I suggest adding an option to trigger only a soft refresh (F5) when a local page is updated.

xsrvmy avatar Jan 16 '18 02:01 xsrvmy

I'm not so keen on this idea, soft refreshes might reload and show an out-of-date version of a page. Plus I want encourage people to develop on their local machines (localhost / 127.0.0.1 / example.test ) and not use LivePage on offsite servers.

Though if there is enough support, the LOC that needs adjusting is https://github.com/MikeRogers0/LivePage/blob/67b4aef977f93468ec96969915fd3855c38a186a/js/background.js#L28 & I'll happily implimnent the change.

MikeRogers0 avatar Jan 16 '18 12:01 MikeRogers0