Hi! I've started looking into Ktor and it seems gr...
# ktor
a
Hi! I've started looking into Ktor and it seems great. But I struggle with the Autoreload settings. When running the application i get message:
Copy code
No ktor.deployment.watch patterns match classpath entries, automatic reload is not active
I use OpenJDK 1.8 This works, but not watching the directories i want:
Copy code
watchPaths = listOf("bystativ-server-gradle/")
It only watches the bystativ-server-gradle/out directory and its subfolders. I want it to watch the bystativ-server-gradle/src directory
s
whats wrong with the current behavior? you make your changes to the code, hit cmd+f9 to build and ktor will reload the changes
c
Rebuilding kotlin sources is not ktor resposibility. To rebuild sources automatically you may need something line Gradle Continous Build