I have a KMP project. A Ktor server with a Kotlin...
# multiplatform
l
I have a KMP project. A Ktor server with a Kotlin React front end. In order to get the autoreload for both client and server to work I have the server running with
EngineMain
and
installDist -t
, and the front end running with
jsBrowserRun -t
, doing so I had to configure a dev cors to allow the traffic. I'm ok with this set up, but was wondering if there was an out of the box config I was missing that would allow the server to serve and auto reload the js.