Enable Hot Reload
Enable Hot Reload
Azu.configure do |config|
# Enable in development
if ENV.fetch("AZU_ENV", "development") == "development"
config.template_hot_reload = true
end
endHow It Works
Development vs Production
File Watching
Using Watchexec
Using entr
Browser Auto-Refresh
Server-Sent Events Approach
Using LiveReload.js
Custom Watch Script
Sentry for Crystal
Performance Considerations
Troubleshooting
Changes Not Reflecting
Slow Performance
See Also
Last updated
Was this helpful?
