I am experimenting with Kotlin 1.4-M1, and live re...
# javascript
p
I am experimenting with Kotlin 1.4-M1, and live reload with the IR compiler. On a "Hello, World" project reload takes ~1 second on my laptop, which is really nice. However, if I add some code (~5K lines), the reload takes ~10 to 20 seconds, even if I change only one line in the main class (i.e. code with no relevant dependencies). Is this expected, or should I get faster reload times? For reference, the generated JavaScript file is approximately 1Mb in size. I am asking, because I am trying to decide whether I should make the frontend application in React/TypeScript and leave some critical code in Kotlin, or whether I can do all frontend development in Kotlin (which would, of course, be preferable).
i
Can you create an issue and attach your example here - http://kotl.in/issue. We will investigate your problem
p
Hi Ivan, I am afraid I cannot share the code (yet). I am merely interested in how long a typical edit-compile-run cycle should take on typical hardware.