Slackbot
12/19/2022, 1:24 PMwolfs
12/19/2022, 1:42 PMVampire
12/19/2022, 1:52 PMbuild finalized by that task. 😕
The question is, what is the proper way to get ktor hot-reload working properly.wolfs
12/19/2022, 3:13 PMVampire
12/19/2022, 3:15 PMDavid Smith
12/19/2022, 5:21 PMbuild directory, not where this build directory isDavid Smith
12/19/2022, 5:21 PMVampire
12/19/2022, 5:22 PMktor.deployment.watch = [ /build/classes/ ] in application.conf in the work-around in the issue you mentioned would do that.
But as I said, I'm not using ktor, so I don't knowDavid Smith
12/19/2022, 5:24 PMktor.deployment.watch = [ classes ]
i.e. not the /build/ partDavid Smith
12/19/2022, 5:25 PM/build/dev or somethingVampire
12/19/2022, 5:26 PM/ in the beginning.
As I said, I'm just guessing here from what I see in that issue work-around.
But yeah, if it has to be something in build, that's not too bad either, as I wouldn't put build output anywhere else anyway. 🙂David Smith
12/19/2022, 5:38 PM../../../mymodule/build/libs or doesn’t reload jar files (since the module is packaged up into a jar file)David Smith
12/19/2022, 5:39 PMVampire
12/19/2022, 5:42 PM../../../mymodule/build/classes/ or similarDavid Smith
12/19/2022, 5:45 PMDavid Smith
12/19/2022, 6:10 PMDavid Smith
12/19/2022, 6:11 PMval watchPaths = listOf("classes", "resources", "$workingDirectory/output")David Smith
12/19/2022, 6:12 PMDavid Smith
12/19/2022, 6:12 PMDavid Smith
12/19/2022, 6:12 PM