HotReloadRoutes
fun HotReloadRoutes(app: HttpHandler, duration: Duration = ofMinutes(10), sleeper: (Duration) -> Unit = Thread::sleep): RoutingHttpHandler
Filter which injects a script into HTML responses using an event source to detect changes and reload the page.