Skip to content

Add hot reload for templ feature and updated go server to allow hot reload during local dev and update dependencies #4

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LotusEngineer
Copy link
Collaborator

  • Updated README.md to include instructions for running the server with hot reload.
  • Modified go.mod to add fsnotify and golang.org/x/sys dependencies.
  • Updated go.sum with checksums for new dependencies.
  • Enhanced server functionality to support hot reloading and SSE for client refresh.
  • Added file watcher to monitor changes in the public directory.
  • Added autocompllation of templ code via hot reload checbox

…eload during local dev and update dependencies

- Updated `README.md` to include instructions for running the server with hot reload.
- Modified `go.mod` to add `fsnotify` and `golang.org/x/sys` dependencies.
- Updated `go.sum` with checksums for new dependencies.
- Enhanced server functionality to support hot reloading and SSE for client refresh.
- Added file watcher to monitor changes in the `public` directory.
- Added autocompllation of templ code via hot reload checbox
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

Successfully merging this pull request may close these issues.

2 participants