I have a strange issue where the development serve...
# multiplatform
a
I have a strange issue where the development server for JS doesn't start in --continuous mode. Yesterday it worked, today it doesn't. I am running 1.5.0 and Gradle 7.0.1. Any idea what can be the cause? I also cleaned build and invalidated caches, but to no avail.
b
Have you checked gradle and browser logs for any (compilation?) errors?
Dev server won't start if compilation fails
a
Compilation works, because it works without --continous
When adding --continous the build stops after building
buildSrc
But I'll check gradle logs
Nope, no errors
b
You could start devServer without --continuous and run
kotlinJsCompile
task in a separate proccess in continuous mode
Should achieve the same end result
a
ah, I'll try that
let me see
b
Although this is obviously just a workaround as devServer should work with continuous, Maybe worth raising a youtrack ?
a
let me see if it works first, maybe I get same issue with kotlinJsCompile task as well
Same issue
The only thing I changed between today and yesterday is that I harmonized my dependencies via buildSrc, so I guess that is the issue
I'll reaise a YT issue
b
You could revert your buildSrc and use this instead
It should theoretically unblock you short-term
a
thanks a lot
b
Did it work?
a
Yup
Thanks, and I filed a YT issue