in reply to Reload Browser Tab on Windows
It's easy to automate in two ways:
The cross-browser way would be to serve the HTML through a local webserver and inject a small websocket script into it that calls back to the server and leans when the HTML or CSS get changed. See Mojolicious::Plugin::AutoReload or my App::Mojo::AssetReloader.
The Chromium/Chrome/Edge-only way would be with WWW::Mechanize::Chrome and Filesys::Notify::Simple, reloading the page whenever it needs to be reloaded. This has the slim advantage of not modifying the HTML page.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reload Browser Tab on Windows
by LanX (Saint) on Dec 21, 2020 at 21:17 UTC | |
by Corion (Patriarch) on Dec 21, 2020 at 21:42 UTC | |
by LanX (Saint) on Dec 21, 2020 at 21:46 UTC |