Hello, I wonder if anyone managed to make the cljs repl work with https://vlaaad.github.io/reveal/ ? I like inspect but I would like to explore ways to stay in Emacs with the tap>
function. I tried to add it as middleware, but taps are not communicated to the JVM (I think this is basic cljs vs clj repl). Anyone has an idea how we can solve this "easily"? Maybe create a server listening to the same websocket as shadow-cljs and forwarding this to reveal?
I don't think reveal supports CLJS at this point but I don't really know
They have a nrepl middleware, but then it does not work once you entered the cljs repl.
@neo2551 I never tried, but in the docs it says to use the socket REPL for CLJS, look for remote-prepl
at https://vlaaad.github.io/reveal
I am think I am locked with shadow-cljs though 🙂
Maybe I can create another process than the watch but with a remote-prelp
will try.
By the way, shadow-cljs inspect is really good, the most stable "rebl" like experience I found with cljs
Is there a way to access rc/incline
from JavaScript?
https://clojureverse.org/t/using-none-code-resources-in-cljs-builds/3745
I would like to load a txt file (a glsl shader file) as a string, but in a javascript file. I couldn't find a way to do it using the closure compiler so I figured maybe I could rely on Shadow-CLJS?
@zhuxun2 no. this is a macro so it is only available in CLJS