Reload HTTP sites opened in new tabs when the val changes #74
stevekrouse
started this conversation in
Feature Request
Replies: 1 comment 1 reply
-
Built a version of this in userspace: https://www.val.town/v/stevekrouse/ReloadScript Screenshot.2024-02-28.at.08.08.47.mp4 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I thought of a fun hacky way to accomplish this in userspace: create a middleware that injects a script tag that every second or so checks the val town api to see if the version number of that val has increased, and if so, reloads the page.
Beta Was this translation helpful? Give feedback.
All reactions