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

gotoOla

08/28/2019, 2:37 PM
https://kotlinlang.slack.com/archives/C0A974TJ9/p1566853984325300 Anybody doing this or knows if it’s possible?
s

spand

08/29/2019, 5:08 AM
What do you mean module with dependencies?
g

gotoOla

08/29/2019, 12:38 PM
@spand something that takes a parameter, e.g. Application.myModule(externalDep: ExternalDependency) { … }
s

spand

08/29/2019, 12:39 PM
2 years later
g

gotoOla

08/29/2019, 12:42 PM
exactly! The problem is that for hot-reload to work you need to do it by method reference https://ktor.io/servers/autoreload.html
s

spand

08/29/2019, 12:46 PM
Yeah. We just ended up stuffing everything inside the ktor classloader 🤷‍♂️