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

spierce7

10/19/2021, 8:22 PM
Why does auto-reload work when do
Copy code
embeddedServer(
        factory = Netty,
        port = 8080,
    ) {
        modules()
    }
But not
Copy code
embeddedServer(
        factory = Netty,
        port = 8080,
        module = Application::modules
    )
a

Aleksei Tirman [JB]

10/20/2021, 10:03 AM
I've checked and the auto reload works with both configurations using Ktor 1.6.4. Could you please share the steps you take to reproduce described problem?
s

spierce7

10/20/2021, 4:42 PM
I’m using ktor 1.6.4
I was running it through the gradle run command
I was seeing the auto-reload trigger, but the change wasn’t happening