Hi all,

I've just released 'simple-brepl', a Lein plugin that automates most of the 
steps needed to get a ClojureScript browser REPL up and running. It's a couple 
of lines of setup, then run `(simple-brepl)` in your Clojure REPL, reload your 
browser, and you should have a working browser REPL.

The Github repo's at https://github.com/james-henderson/simple-brepl, or you 
can open up a sample project with instructions using `lein new splat <project>`.

Any questions/thoughts/fixes, please let me know!

James


More information:

'simple-brepl' is essentially a light wrapper atop Tom Jakubowski's excellent 
'Weasel' library, which uses WebSockets to communicate with the browser. 
WebSockets seem (to me, at least) to be a great abstraction to use for REPLs, 
and I've had far fewer reliability issues (dropped connections etc) with Weasel 
than other bREPL solutions.

(Incidentally, Tom, if you're reading this - I wasn't sure whether this 
belonged as part of Weasel or as a separate library - I've released it as a 
separate library mainly to get something out there. If you want to make this 
part of Weasel, feel free; if not, for whatever reason, no offence taken!)

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