Skip to content

Instantly share code, notes, and snippets.

@bmaddy
Created September 12, 2018 14:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmaddy/2a94b1a36b651936dbf1c35b16e028b2 to your computer and use it in GitHub Desktop.
Save bmaddy/2a94b1a36b651936dbf1c35b16e028b2 to your computer and use it in GitHub Desktop.
piggie back issue
clj -R:nrepl -m nrepl.cmdline --middleware "[cider.piggieback/wrap-cljs-repl]"

in Emacs, cider-connect

user> (require '[oops.core :refer [oset!]])
nil
user> (oset! (js-obj) :mood "a happy camper")
IllegalStateException Can't change/establish root binding of: *cljs-warnings* with set  clojure.lang.Var.set (Var.java:223)
{:deps
{binaryage/oops {:mvn/version "0.6.2"}}
:aliases {:nrepl
{:extra-deps
{nrepl/nrepl {:mvn/version "0.4.4"}
cider/piggieback {:mvn/version "0.3.9"}}}}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment