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.