https://kotlinlang.org logo
#ktor
Title
# ktor
g

gaetan

11/28/2018, 12:59 PM
The problem is more weird than I thought. This is the launching code:
Copy code
fun main(args: Array<String>) {
    embeddedServer(
        factory = Netty,
        port = 8080
    ) {
        proxyAndCache()
        mainModule()
    }.start(wait = true)
}
When I launch this code from my Idea Kotlin run configuration, the
proxyAndCache
function is called . But when I launch the code from gradle the function is not called.
s

spand

11/28/2018, 1:00 PM
And you are 100% sure that it is running the newest code ?