http4k Hot Reload restarts your server the moment your code changes - no more manual restarts
This tool restarts the server the instant it detects a code change, cutting the manual steps out of 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

http4k Hot Reload is available under the http4k Commercial License. Free for qualifying small businesses (under $1M ARR), non-commercial, non-profit, and research use. Checkout is handled securely by Stripe.
All http4k Pro modules are also automatically included with the Enterprise Edition. Need bulk seats, team licensing, or custom terms? Get in touch.
