http4k Hot Reload automatically restart your server after code changes, saving you time during development
This tool automatically restarts the server when it detects a code change, resulting in fewer steps in your development workflow.
All that’s needed to support hot reloading is a class that provides the main application HttpHandler, and a dedicated main() function.
Hot reload works with all of the servers http4k can run on, no matter if you’re serving HTTP, WebSockets, or SSE protocol.
Use the Gradle integration (including multi-project support) or extend it to leverage your existing building tools.
Step 1 - Create the factory class

Step 2 - Jus run it with the HotReloadServer

All http4k Pro modules are also automatically included as part of the Enterprise Edition. Need bulk developer seats, team licensing, or custom terms? Get in touch and we'll find the right fit - whether that's volume licensing for individual Pro modules or our full Enterprise Edition with LTS support and priority access to all Pro modules.
