lein-figwheel

derpocious 2017-11-17T13:38:23.000394Z

hey everyone. I scaffolded a cljs project with leiningen, and I want to use the repl. However, lein repl seems to only be able to look for regular clojure java files.

derpocious 2017-11-17T13:38:54.000105Z

I'm wondering if it is possible to add figwheel to any cljs project so that I can use a cljs repl.

jumar 2017-11-17T18:00:01.000279Z

@derpocious if you make sure that you add proper configuration manually everything should work. However, you need to run proper cljs-repl. Most often I do that like this (although I don't use lein repl manually but with cider-jack-in):

(use 'figwheel-sidecard.repl-api)
(start-figwheel!)
(cljs-repl)

derpocious 2017-11-17T18:16:57.000234Z

Interesting, but where are you running that clojure code?

jumar 2017-11-17T18:26:18.000151Z

inside the regular clojure repl

jumar 2017-11-17T18:28:15.000471Z

btw. why don't you just run lein figwheel?