ktor-server-host-common / io.ktor.server.engine / ApplicationEngineEnvironmentReloading / <init>

<init>

ApplicationEngineEnvironmentReloading(classLoader: ClassLoader, log: Logger, config: ApplicationConfig, connectors: List<EngineConnectorConfig>, modules: List<Application.() -> Unit>, watchPaths: List<String> = emptyList(), parentCoroutineContext: <ERROR CLASS> = EmptyCoroutineContext, rootPath: String = "") ApplicationEngineEnvironmentReloading(classLoader: ClassLoader, log: Logger, config: ApplicationConfig, connectors: List<EngineConnectorConfig>, modules: List<Application.() -> Unit>, watchPaths: List<String> = emptyList(), parentCoroutineContext: <ERROR CLASS> = EmptyCoroutineContext, rootPath: String = "", developmentMode: Boolean = true)

Implements ApplicationEngineEnvironment by loading an Application from a folder or jar.

watchPaths specifies substrings to match against class path entries to monitor changes in folder/jar and implements hot reloading