Matt
07/09/2018, 3:22 PMNo ktor.deployment.watch patterns match classpath entries, automatic reload is not active
Any ideas on what might be the issue? (It's running OpenJDK 1.8 in the container)cy
07/09/2018, 3:25 PMMatt
07/09/2018, 3:27 PMCMD ["../gradlew", "run"]
cy
07/09/2018, 3:36 PMwatch
pattern look like?cy
07/09/2018, 3:38 PMDevelopmentEngine
or your own class?cy
07/09/2018, 3:39 PMMatt
07/09/2018, 3:43 PMktor {
deployment {
port = 8080
watch = [gems]
}
(All code is beneath gems.*
namespace)Matt
07/09/2018, 3:44 PMfun main(args: Array<String>) {
val environment = commandLineEnvironment(args)
val server = embeddedServer(Netty, environment)
server.start()
}
Matt
07/09/2018, 3:44 PM$ docker exec -it backend java -version
openjdk version "1.8.0_162"
OpenJDK Runtime Environment (build 1.8.0_162-8u162-b12-1~deb9u1-b12)
OpenJDK 64-Bit Server VM (build 25.162-b12, mixed mode)
cy
07/09/2018, 3:57 PMcy
07/09/2018, 3:58 PM[DEBUG] Class Loader:
cy
07/09/2018, 4:19 PMcy
07/09/2018, 4:19 PMbackend
to watches list should fix itcy
07/09/2018, 4:19 PMMatt
07/09/2018, 4:24 PMwatch
had to be a substring of the package, rather than the classloader URL, my bad 🤦cy
07/09/2018, 4:33 PMcy
07/09/2018, 4:33 PMMatt
07/09/2018, 4:54 PM