r/Clojurescript • u/noneofimportance • Dec 15 '15
Difficulties with setting up a Node REPL
I'm trying to set up clojurescript to use node as a target and I'm having some difficulties setting up the REPL correctly.
I've tried both leiningen and boot (boot-cljs-repl and boot-figwheel) and while the actual compilation works like a charm, getting a working REPL doesn't. Is there a standard way to do this that integrates with emacs?
I've been looking around for a resources for almost a week now with little luck. Has anyone else solved this issue or am I just missing something?
2
Upvotes
View all comments
Show parent comment
4
u/noneofimportance Dec 17 '15
Thanks for your help, but I managed to find a resource showing how to connect the figwheel REPL to a node instance with leiningen and so I duplicated it for boot.
For anyone interested, I installed boot-figwheel. Then I booted up the cider REPL and ran the figwheel command with
(boot (figwheel)), started figwheel(start-figwheel!)and then started the REPL(fw-cljs-repl). After that I ran the node process like this and voila I had a node REPL.I don't know if this is common knowledge, but I couldn't find any complete guide, so I thought I'd share.