As you've seen from the responses, the general approach is to use two
REPLs, one for Clojure, the other for ClojureScript.
nREPL supports multiple sessions per connection, which can make doing
this really easy in tools that support it (I know CCW does). Cider
unfortunately doesn't support cloning nREPL sessions, but it's easy to
open additional connections (and get a new session that way) via M-x
cider (which will pick up the port of any already-open REPL server
running in the current project).
- Chas
On 03/11/2015 12:20 AM, [email protected] wrote:
I'm sure this has been asked more than once but the answer seems like a moving
target. What are some good ways to work with both clojure and clojurescript
code at the same time?
More specifically, how do you have your REPLs set up?
Currently, I use emacs + cider + weasel. After I start weasel, I can't load
clojure code and of course if I exit weasel, I can't load cljs code. It's a
major issue that slows me down significantly and I'm not sure what to do about
it.
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups "ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.