Krell now has support to develop against multiple instances of an app - https://github.com/vouch-opensource/krell#multiple-app-instance-development
i.e. you can run the app N times and run N REPLs
the primary use case is testing apps that requires multiple parties - i.e. chat/messaging etc.
it's actually not a case that React Native supports well
because Metro reloads everyone
and XCode disconnects from the previous build when you rebuild
but this works around these limitations to offer a model that I believe works reasonably well
i.e. a primary REPL that is the reloader, and a secondary REPL that does not reload
Brillant! Very nice @dnolen! Thx 👍
I get this error when I try to start clojure with the latest version of krell
Error building classpath.
java.lang.NullPointerException
at clojure.tools.deps.alpha.util.dir$canonicalize.invokeStatic(dir.clj:30)
at clojure.tools.deps.alpha.util.dir$canonicalize.invoke(dir.clj:25)
at clojure.tools.deps.alpha.extensions.deps$eval1390$fn__1392.invoke(deps.clj:27)
at clojure.lang.MultiFn.invoke(MultiFn.java:244)
at clojure.tools.deps.alpha$expand_deps$children_task__790$fn__792$fn__793.invoke(alpha.clj:403)
at clojure.tools.deps.alpha.util.concurrent$submit_task$task__505.invoke(concurrent.clj:34)
at clojure.lang.AFn.call(AFn.java:18)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
I have tripple checked the sha and if I just remove the krell dependency, it boots just fine. Any ideas @dnolen?
it actually happens on every version now, I must have messed up my environment some how
@hkjels delete .cpcache
try again
if that doesn't work
delete ~/.gitlibs
tools-deps problem unrelated to Krell
Deleting ~/.gitlibs
did the trick. Thanks!