-
Notifications
You must be signed in to change notification settings - Fork 29
Feature/dev live reload #322
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
base: main
Are you sure you want to change the base?
Feature/dev live reload #322
Conversation
- Add LiveReload middleware for injecting WebSocket client script - Add live reload settings to GlobalSettings - Update server to start live reload server in development mode - Fix WebSocket client handling in live reload server - Add comprehensive tests for live reload functionality
- Update middleware test to match SSE implementation - Add handler tests for SSE endpoint - Fix server tests for file watching - Update deprecated sleep calls to use Time::Span
- Fix event handler reassignment in live reload script - Update middleware test to use call instead of chain
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Hey! 👋 Thanks a lot for opening this PR! I agree that live reloading could be useful for some Marten projects. However, I’m not sure it’s something that should live within the framework itself — many projects can (and do) use external tools for live- or hot-reloading, and the need might not be common enough to justify maintaining it as part of Marten. I think it would make a great standalone shard though. Would you be open to creating one? |
No description provided.