Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live Reload-ish first class support for Denon? #159

Open
drawveloper opened this issue Jan 31, 2022 · 0 comments
Open

Live Reload-ish first class support for Denon? #159

drawveloper opened this issue Jan 31, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@drawveloper
Copy link

drawveloper commented Jan 31, 2022

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.

@drawveloper drawveloper added the enhancement New feature or request label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant