Fork me on GitHub
#lein-figwheel
<
2016-02-25
>
eggsyntax04:02:47

@bhauman: you know, just based on seeing some of the most common figwheel confusions & concerns (& finally reading @venantius' "ClojureScript Blues," I suspect that something like:

alias figwheel='rlwrap lein figwheel'
would go a long way...

venantius04:02:25

oh yeah, I have that alias in my .bash_profile

venantius04:02:49

rather, I have:

venantius04:02:51

lein() {
    if [[ $1 == "figwheel" ]]; then
        command rlwrap lein figwheel
    else
        command lein "$@"
    fi
}

eggsyntax04:02:56

Same here. But somehow including it with figwheel installation might really cut out a tough getting-started pain point.

venantius04:02:58

I could have sworn someone had filed an issue about this on the Figwheel repository

venantius04:02:08

ah, here we go

venantius04:02:29

a combination of a readline integration and this

venantius04:02:31

is really what I want

venantius04:02:55

(readline or rlwrap)

venantius04:02:35

I realize that issue isn’t quite what we were talking about

eggsyntax04:02:59

Also @venantius -- I was never able to truly get to a place where I was happy with vim/fireplace and cljs. I switched to Spacemacs some months ago -- all my usual vim keybindings, but integration with a really first-class Clojure system, and in particular CIDER. I'm extremely glad I did, and would hate to go back.

venantius04:02:21

at some point I did figure out a setup for clojurescript in vim that actually worked.

venantius04:02:30

there were some changes to fireplace that had to happen first

venantius04:02:39

(that occurred after I wrote that blog post)

eggsyntax04:02:05

Also, just as a side note, I had trouble getting rlwrap to work with figwheel -- I ended up with:

alias figwheel='socat READLINE,history=$HOME/.figwheel_history SYSTEM:"lein figwheel"'

eggsyntax04:02:04

(just on one box -- rlwrap worked great for the others)

eggsyntax04:02:33

Off to bed, though, l8r