You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using tiny-lr programmatically and I want to be able to live-reload changes in a <style> tag inside .html files without refreshing the page and losing state. How can we go about including this feature, maybe behind a flag to keep the default behaviour simple?
I'd be willing to submit a PR once I have an idea of the best way to integrate this.
The text was updated successfully, but these errors were encountered:
👍 The part that live reloads in the client lives in the livereload-js package: https://github.com/zaius/livereload-js I'm not sure if it is supported already or not there.
Assuming it doesn't add to much overhead, I think just have the featured enabled by default is reasonable. Otherwise +1 to a flag.
I'm using
tiny-lr
programmatically and I want to be able to live-reload changes in a<style>
tag inside.html
files without refreshing the page and losing state. How can we go about including this feature, maybe behind a flag to keep the default behaviour simple?I'd be willing to submit a PR once I have an idea of the best way to integrate this.
The text was updated successfully, but these errors were encountered: