Skip to content

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

Open
LotusEngineer wants to merge 1 commit into
mainfrom
feature/hot-reload
Open

Add hot reload for templ feature and updated go server to allow hot reload during local dev and update dependencies#4
LotusEngineer wants to merge 1 commit into
mainfrom
feature/hot-reload

Conversation

@LotusEngineer
Copy link
Copy Markdown
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