'How to enable development mode in embedded server to use auto reload in Ktor?
I'm using Ktor for my back end, I am planning to use auto reload and when I used engine main I've configured development mode in application.conf file. How to do the same in embedded server?
fun main() {
embeddedServer(Netty, port = 8080 ,watchPaths = listOf("classes","resources")) {
module()
}.start(wait = true)
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
