Skip to content

Running figwheel in a Cursive Clojure REPL

Alexander Eberts edited this page May 1, 2015 · 39 revisions

Warning! The ClojureScript REPL landscape is changing rapidly so your mileage may vary.

This has been tested as is working with:

  • lein-figwheel "0.2.9"

Create a new ClojureScript project based on the figwheel template.

At the terminal do:

lein new figwheel figwheel-test

In your project.clj file uncomment the line :nrepl-port 7888

At the terminal start figwheel:

lein figwheel

Then, in Cursive: Run->Edit configurations, add a Remote REPL pointing at localhost:7888 Run that REPL config - that should connect to the Figwheel process (use 'figwheel-sidecar.repl-api) (cljs-repl)

Clone this wiki locally