A quick question about a full-stack dev in IDEA: I...
# multiplatform
n
A quick question about a full-stack dev in IDEA: I created a multiplatform “Full-Stack Web Application” in IDEA - now I’m wondering what the quickest path to a sane development experience is? Surely a full “production” rebuild for every change isn’t the way to go?
m
There are no good solutions yet. I’m using web+backend Kotlin multiplatform and it’s quite a lot of hacks and waiting 😅
It’s not a full rebuild but it isn’t fast either
n
@Marc Knaup that’s sad 😞. I was looking for a more streamlined environment, hoping that it’s just my lack of gradle experience holding me back. Meanwhile I managed to find one thing - development builds of the frontend which helps at least a bit with the development. Thanks anyway.
o
Am I right to assume that you did already stumble across • Gradle
--continuous
builds, • Ktor hot-reloading (via
watchPaths
) for the backend, • webpack-dev-server hot-reloading for the frontend?
m
In my case: Continuous builds are very broken for me with 1.4.30. Like 80% of builds fail randomly. And building those is what takes longest. I don’t need nor am able to use ktor hot reload in the back-end. Haven’t used webpack hot reloading yet. I don’t think that’ll do much since most time is spent on recompiling Kotlin code. Just adds even more complexity.