Fork me on GitHub
#cursive
<
2015-11-15
>
jmmk22:11:02

How do I get a CLJS repl running in cursive? I don't need any reloading into a browser, I just want to be able to evaluate code for library development

cfleming22:11:40

@jmmk: So you don’t want figwheel?

jmmk22:11:19

Figwheel seems to not want to run unless connected to a browser

cfleming22:11:45

If not, the best bet is to follow the Quick Start: https://github.com/clojure/clojurescript/wiki/Quick-Start

jmmk22:11:00

I could make a dev html that just serves the JS I guess just to get figwheel repl to work?

cfleming22:11:30

Once you’ve done that and you have the REPL working, you can then create a REPL config in Cursive which automates starting it.

cfleming22:11:48

The option you want there is the clojure.main REPL.

cfleming22:11:59

Sorry, I’ve been meaning to document this but haven’t yet.

jmmk22:11:59

@cfleming: node repl seems to be working, thanks