I had a very long personal struggle with cljs REPL. Was using LT for almost a
year, but unfortunately LT is losing the pace with the very recent cljs updates
past months, plus it becomes hard to manage complex projects in there.
Especially when you are missing essential features that are present in classic
IDEs for years.
Finally, after the third try or something, I have settled with Cursive + cljs
REPL over weasel+piggieback, and very happy with that. One really huge weasel
upside is that you do not need the running webserver to connect to the REPL,
which works over the websockets in weasel.
Having something like the following in the project.clj, I just run the Cursive
REPL and enter "(browser-repl)" in there, done.
:profiles {:uberjar {:aot :all}
:dev {:repl-options {:init-ns stats-webapp.core
:nrepl-middleware
[cemerick.piggieback/wrap-cljs-repl]
:init (do
(require 'weasel.repl.websocket)
(defn browser-repl []
(cemerick.piggieback/cljs-repl
:repl-env
(weasel.repl.websocket/repl-env
:ip "0.0.0.0"
:port 9001))))}}}
> I've played around with Cursive and I really like it and would like to
> switch, but what keeps me with Lighttable is the Clojurescript REPL works so
> well and it's trivial to get it up and running. I keep hearing stories of
> how hard it is to get a browser repl working in just about every other
> environment, but with Lighttable, it "just works".
--
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.