Hi! Not exactly humbleui related, but I'm experimenting with skija and jwm. I'm wondering if it's possible to have a working REPL running in Emacs while a jwm window is open? Code in ๐งต
As I understand it (doto (Thread. #(clojure.main/main)) (.start)) should make a REPL available, but how do I connect to it in Emacs?
I have tried running the system in different ways:
1. Starting a REPL with cider-jack-in-clj inside Emacs and then evaluating (-main). This works, but the REPL is unresponsive after the window has opened.
2. clj -J-XstartOnFirstThread -M -m bemacs.core works and opens a REPL in the terminal, but how do I connect to it in Emacs?
3. clj -M -m bemacs.core also works but same as 2.
Somebody who can help? ๐
basic idea is to start a repl server ( could be nrepl, socket-repl ) in separate thread and then start your gui. https://github.com/HumbleUI/HumbleUI/blob/main/dev/user.clj
then you can connect to the repl server and start working.
Thanks, will check it out ๐