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
Marc Knaup
02/09/2021, 3:54 PM
There are no good solutions yet.
I’m using web+backend Kotlin multiplatform and it’s quite a lot of hacks and waiting 😅
Marc Knaup
02/09/2021, 3:54 PM
It’s not a full rebuild but it isn’t fast either
n
Not Me
02/09/2021, 8:04 PM
@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
Oliver.O
02/10/2021, 6:49 PM
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
Marc Knaup
02/10/2021, 6:51 PM
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.