<https://kotlinlang.slack.com/archives/C0A974TJ9/p...
# ktor
g
https://kotlinlang.slack.com/archives/C0A974TJ9/p1566853984325300 Anybody doing this or knows if it’s possible?
s
What do you mean module with dependencies?
g
@spand something that takes a parameter, e.g. Application.myModule(externalDep: ExternalDependency) { … }
s
2 years later
g
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
Yeah. We just ended up stuffing everything inside the ktor classloader 🤷‍♂️