Fork me on GitHub
#cursive
<
2019-04-11
>
jamescroft08:04:22

In cursive I want to start two REPLs, one for clj and one for cljs. To do this I have defined two run configurations and then a compound configuration that starts both of them. Sometimes this works, but sometimes it tries to start both REPL in the same REPL tab. This is what it looks like when it goes wrong:

jamescroft08:04:20

And when it works correctly I have two REPL tabs:

jamescroft08:04:36

My compound configuration:

jamescroft08:04:36

Any idea why the two REPLs sometimes end up in the same tab, and sometimes in different tabs? Any ideas on how I can prevent them opening in the same tab?

cfleming21:04:35

@jamescroft Hmm, that might be because the run config tries to re-use some things internally (like the Build toolwindow pane for a particular config) and starting two is racey

borkdude21:04:51

(responding from thread in clojure-dev:) no problems, it’s probably a bug in IntelliJ and I’ll let them handle it for now