For some reason I can't get hot-reloading working ...
# ktor
c
For some reason I can't get hot-reloading working for a Ktor backend server. I can see in the logs that the server does detect file changes after performing a re-build, but when I reload the browser it can no longer connect to the server. Since I have made all the necessary changes to the application.conf file, is there something else that I am missing?
a
There might be this issue (KTOR-7352). Can you please ensure you don't configure the server module with a lambda?
c
I am just using the generated code created by intellij, so the code to start the server is just
Copy code
fun main(args: Array<String>) {
    io.ktor.server.netty.EngineMain.main(args)
}
Thanks for the link to the existing bug. I will keep my eye on it.