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

Updates realtime #984

Open
lorypelli opened this issue Nov 2, 2024 · 1 comment
Open

Updates realtime #984

lorypelli opened this issue Nov 2, 2024 · 1 comment

Comments

@lorypelli
Copy link

I need to restart the server to update the page, is there a way to do it in realtime?

@pharrisee
Copy link

Generally the templ code is transpiled into Go code which in turn must be built into an executable, so real-time updates are not immediately possible.

That being said, there are tools which might help with the issue you have:

https://templ.guide/commands-and-tools/live-reload
https://templ.guide/commands-and-tools/live-reload-with-other-tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants