When you have a Ktor server watching class files f...
# ktor
s
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
gradle -t …tasks
, you may create a run configuration in IDEA
s
I know about that already - I’ve found that lags. It takes a second or 2 for gradle to realize the files have changed