Closed vigilancetech-com closed 5 years ago
I will try to reproduce this later this week. Sorry, swamped atm.
I guess for the moment I can develop on one process at a time, but it would be really awesome if at some point I could do both. Plus it seems like something that should definitely work.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution and understanding!
This issues been automatically closed due to lack of activity. Feel free to re-open it if you ever come back to it.
Expected behavior
when, say, connecting to an electron main process repl and its renderer process repl they would be separate repls.
Actual behavior
you are directed to the first repl both times and the 2nd one is left in a "pending" status with errors.
Steps to reproduce the problem
Now I'm trying to take the shadow-cljs electron example code (https://github.com/shadow-cljs/examples/tree/master/electron) and connect to the main and renderer processes with emacs cider-connect-cljs (renderer first) then with cider-connect-sibling-cljs (main). When I do the renderer everything looks okay (other than a middleware mismatch error apparently cuz I'm using the latest snapshot -- however FWIW shadow-cljs' creator Thomas Heller said its because the preludes are being injected into a cljs repl instead of a clj repl where they belong) but when I do the sibling it appears to give me the same repl and it has a bunch of errors: