- The REPL's evaluation mechanism has been adjusted so that an eval without a client connected simply blocks until a client connects, rather than throwing an exception.
- Requires ClojureScript 0.0-2814 or newer.
- Requires ClojureScript 0.0-2665 or newer.
- Requires Piggieback 0.1.4 or newer.
- Requires Clojure 1.6.0 and ClojureScript 0.0-2311 or newer.
- Weasel no longer invokes the compiler in a way that creates files in
out/
. Any files the compiler generates for Weasel are now intarget/
.
- The
repl-env
function now passes options to the compiler. - Adds a
:print
option torepl/connect
which controls where prints are sent.
- The
verbose
option toweasel.repl/connect
now defaults totrue
. - When
verbose
is false, the REPL client no longer logs Websocket errors to the console.
- Don't try to call string when no stacktrace available.
- Handle exceptions that are not instances of
js/Error
(e.g.(throw "foo")
)
- Requires ClojureScript 0.0-2202
- Client:
weasel.repl/alive?
to determine if REPL is connected/connecting or dead. (#5) - Client:
weasel.repl/connect
now takes optional callbacks:on-open
,:on-error
,:on-close
.