Skip to content

Instantly share code, notes, and snippets.

@theronic
Created October 11, 2018 10:53
Show Gist options
  • Save theronic/283cab9c4ba92eebf8e536ef4c8132a8 to your computer and use it in GitHub Desktop.
Save theronic/283cab9c4ba92eebf8e536ef4c8132a8 to your computer and use it in GitHub Desktop.
Start ClojureScript nREPL
# I'm no longer smart enough to learn DSLs to start my favourite language REPL.
#
# If anyone from Cognitect is reading this, AFAIC this stuff is the biggest barrier to Clojure adoption.
#
# Edit your deps.edn file:
#
# {:deps {org.clojure/clojure {:mvn/version "1.9.0"}
# org.clojure/clojurescript {:mvn/version "1.10.339"}
# ;; ...other deps.
# }
# :aliases {:nrepl
# {:extra-deps
# {nrepl/nrepl {:mvn/version "0.4.4"}
# cider/piggieback {:mvn/version "0.3.9"}}}}}
# Now you can run this on the command line:
clj -R:nrepl -m nrepl.cmdline --middleware "[cider.piggieback/wrap-cljs-repl]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment