Is there an advantage of running shadow-cljs with npx shadow-cljs instead of requiring it in clojure and using shadow.cljs.devtools.api? It seems like npx also launches a java process (how btw?) so it doesn't seem worthwhile to launch two java processes - one for our app and one for shadow-cljs
With Calva it makes a huge difference when using add-lib because Calva’s Clojure repl will be connected to the wrong JVM process and not load libraries into the JVM from which the shadow-cljs ClojureScript REPL runs. I suspect Calva may be doing something wrong here, but anyway, starting shadow from the REPL will work fine.
yes, embedded is fine if you prefer one JVM process