vouch-opensource / krell

Simple ClojureScript React Native Tooling
Eclipse Public License 1.0
673 stars 37 forks source link

Hot reload not working #139

Open gerdint opened 3 years ago

gerdint commented 3 years ago

Followed instructions in https://github.com/vouch-opensource/krell/wiki/Reagent-Tutorial (and had to run cljs with only -c switch for the initial compile to trigger, see #138).

But once the REPL, Metro and emulator (tried both iOS and Android emulators) is up and running changing core.cljs does not trigger and recompile (and/or hot-reload). I need to recompile manually in another shell using clj -M -m krell.main -co build.edn -c (in which case Metro does pick up the changes and reloads the app).

I'm on macOS Big Sur 11.4, using latest Krell (a6bf860df2385384b36dea68bcf2e3163a14bfa8).

mozinator commented 3 years ago

Experiencing the same with Android emulator on Linux

swannodette commented 3 years ago

We're using the last SHA for work for the past two months w/o issues on various versions of OS X. I believe there are other users of Krell on Linux and I haven't heard any problems about hot loading.

swannodette commented 3 years ago

I cannot reproduce this.