# Multiplatform "gradle run --continuous" not reloading js

**URL:** <https://discuss.kotlinlang.org/t/multiplatform-gradle-run-continuous-not-reloading-js/21478>\
**Category:** Multiplatform\
**Created:** [April 8, 2021, 10:11pm UTC](https://discuss.kotlinlang.org/t/multiplatform-gradle-run-continuous-not-reloading-js/21478 "2021-04-08T22:11:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrew.mcveigh](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@andrew.mcveigh](https://discuss.kotlinlang.org/u/andrew.mcveigh)\
**Post date:** [April 8, 2021, 10:11pm UTC](https://discuss.kotlinlang.org/t/multiplatform-gradle-run-continuous-not-reloading-js/21478/1 "2021-04-08T22:11:52Z")

</div>

If i create a mutiplatform project (File → New Project → Full-Stack Web Application) and choose the React Application template, I get a working webapp. I can execute “gradle run” and it will start up the react webapp no problems.

However, i cannot work out how to get continuous / js reload working. I’ve tried “gradle run --continuous” and it doesn’t work.

Am I missing something? Can someone help me out, running the app each time means I have a 1min+ startup each time. is the multi-platform template broken?

Andrew

---

<div class="post-metadata">

**Author:** ![swi](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@swi](https://discuss.kotlinlang.org/u/swi)\
**Post date:** [September 27, 2022, 10:24am UTC](https://discuss.kotlinlang.org/t/multiplatform-gradle-run-continuous-not-reloading-js/21478/2 "2022-09-27T10:24:42Z")

</div>

Same issue here with Kotlin 1.7.10 and gradle 7.4.2.  
Is there any suggestion?

---

<div class="post-metadata">

**Author:** ![marchinram](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/marchinram/32/10166_2.png) [@marchinram](https://discuss.kotlinlang.org/u/marchinram)\
**Post date:** [January 3, 2023, 1:00am UTC](https://discuss.kotlinlang.org/t/multiplatform-gradle-run-continuous-not-reloading-js/21478/3 "2023-01-03T01:00:36Z")

</div>

It works for me with `jsBrowserDevelopmentRun --continuous`, it reloads however I get a blank page that says `Cannot GET /`

---

<div class="post-metadata">

**Author:** ![andrew.mcveigh](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@andrew.mcveigh](https://discuss.kotlinlang.org/u/andrew.mcveigh)\
**Post date:** [January 3, 2023, 11:51pm UTC](https://discuss.kotlinlang.org/t/multiplatform-gradle-run-continuous-not-reloading-js/21478/4 "2023-01-03T23:51:01Z")

</div>

yeah it’s interesting - the mp template appears to have changed since i tried it last about a year ago, i don’t recognize exactly how it’s working now, i’d need to do some digging. it looks like the server side is serving up the content and the webpack bundle.

either way, i couldn’t get it to work and reload. i ended up changing my system to use typescript/react/node.js and it was fairly simple. the reload time is insanely fast in this setup - maybe 0.5s. i like kotlin but the build tools (including the serializationx stuff) is too magical for me.
