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

spierce7

01/10/2020, 3:05 PM
When you have a Ktor server watching class files for hot-reloads, what’s the best way to re-compile class files in the IDE. If you use a gradle IDE configuration, that seems to be equivalent to using gradle from the terminal, which takes additional time because gradle has to perform startup. How do I leverage the already started daemon that the IDE owns? All means to do that seem to involve providing a main class.
c

cy

01/12/2020, 7:56 PM
gradle -t …tasks
, you may create a run configuration in IDEA
s

spierce7

01/12/2020, 8:35 PM
I know about that already - I’ve found that lags. It takes a second or 2 for gradle to realize the files have changed
3 Views