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
Now, I couldn't find anywhere a proper "live reload" working example in the broader deno community. It seems very few, specific frameworks have this. By live reload I mean the browser refreshing after the server has finished restarting.
I was going to go the way of having a SSE endpoint, which the frontend connects to, and receives a hash of the server init timestamp. When the server restarts, the hash will change and therefore the frontend would know to refresh.
I'm wondering: would there be interest for implementing this as a first class feature for Denon? I'd be happy to PR.
Cheers! cc @eliassjogreen I've seen you're the top contributor, would love your input.
The text was updated successfully, but these errors were encountered:
Hi, all. First, thanks for the awesome work here.
Now, I couldn't find anywhere a proper "live reload" working example in the broader deno community. It seems very few, specific frameworks have this. By live reload I mean the browser refreshing after the server has finished restarting.
I am going to implement that for myself in the "landing page base starter" I'm creating for my own projects (https://github.com/firstdoit/nano-jsx-denon-live-reload)
I was going to go the way of having a SSE endpoint, which the frontend connects to, and receives a hash of the server init timestamp. When the server restarts, the hash will change and therefore the frontend would know to refresh.
I'm wondering: would there be interest for implementing this as a first class feature for Denon? I'd be happy to PR.
Cheers! cc @eliassjogreen I've seen you're the top contributor, would love your input.
The text was updated successfully, but these errors were encountered: