Logan Knight
09/08/2020, 7:21 PMPROJECT_ROOT/build/js/packages/kotlin-full-stack-application-demo-client/kotlin/kotlin-full-stack-application-demo-client.js
gets deleted during compileKotlinJs
task which causes HMR to fail out with Error: ENOENT: no such file or directory, open
. I'm trying to wrap my head around the config and it seems I need to have the task ``compileKotlinJs`` not clear the folder and just overwrite the content, but I'm not quite sure how, or if that's the correct solution.Robert Jaros
09/08/2020, 7:52 PMLogan Knight
09/08/2020, 8:02 PMplugins {
kotlin("multiplatform") version "1.4.0" apply false
kotlin("plugin.serialization") version "1.4.0" apply false
}
Robert Jaros
09/08/2020, 8:05 PMkotlin.js.compiler=legacy
in gradle.properties
Logan Knight
09/08/2020, 8:12 PM