My current set up is a little complex but it offers me a very agile
workflow once it's all spun up.

1. I fire up a headless Ring server in one REPL and the latest Figwheel in
another. Figwheel now has a ClojureScript REPL built right in so I don't
need weasel/piggieback.
2. Because I prefer the festively colored output of the standard Clojure
REPL, I fire up another one to interact with my Clojure code rather than
use CIDER (although I use the other Clojure-oriented tools available in
Emacs).
3. I then fire up yet ANOTHER REPL to run `lein autoexpect :notify` so that
any Clojure code changes get recompiled and have tests run against it
automatically. That way, I get immediate feedback before I even flip over
to a browser.
4. Then I have a few other shells open: MongoDB server; Mongo command-line;
sass-watch for SCSS changes (which Figwheel picks up and applies
automatically); and one or two utility shells for whatever else. I use tmux
to keep all of my shell windows (I currently count 10—2 utility; 8
server/REPL—organized and under control.

All of this on a 4gb MacBook Air and it hums like a champ.

Oh, and my editor is Spacemacs with all the Evil mode bells and whistles
turned on. I'm a vimmer but vim inside of Emacs is just too good a combo
not to use.

Hope this helps.

:A.

On Wed, Mar 11, 2015 at 7:48 AM Brandon Adams <[email protected]> wrote:

> I keep two REPLs open below my editor (usually with my editor
> full-screened temporarily via tmux's zoom support) and then have a C-c C-c
> bound to send to clj and C-c C-j bound to send to cljs. This works out okay
> for me. Actual config uses tmux + vim + vim-slime (
> https://github.com/jpalardy/vim-slime). It would be trivial to set this
> up with other editors though.
>
> On Wed, Mar 11, 2015 at 7:31 AM, Jonathon McKitrick <[email protected]>
> wrote:
>
>> I'm interested as well.  I'm plagued with constant issues now trying to
>> run piggieback and weasel within cider, when this used to work.  But I
>> haven't figured out how to work exclusively in the repl with clojurescript
>> either.  I'm open to any of your suggestions in this area.
>>
>> There was a cider tool that figured out what buffer should be sent to
>> what backend for compilation, but I can't seem to find it right now.  I'll
>> take another look and post here if I find it.
>>
>> On Wednesday, March 11, 2015 at 1:14:46 AM UTC-4, [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.
>>
>
>  --
> 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.
>

-- 
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.

Reply via email to