This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-23
Channels
- # announcements (7)
- # babashka (40)
- # babashka-sci-dev (74)
- # beginners (74)
- # calva (31)
- # cider (11)
- # clj-kondo (22)
- # cljs-dev (1)
- # cljsrn (1)
- # clojure (70)
- # clojure-brasil (3)
- # clojure-dev (12)
- # clojure-europe (39)
- # clojure-nl (2)
- # clojure-norway (15)
- # clojure-uk (9)
- # clojurescript (69)
- # community-development (2)
- # conjure (1)
- # core-async (3)
- # cursive (1)
- # data-science (1)
- # datalevin (13)
- # datomic (17)
- # emacs (42)
- # events (1)
- # fulcro (16)
- # graphql (9)
- # helix (1)
- # holy-lambda (14)
- # honeysql (2)
- # hugsql (3)
- # hyperfiddle (5)
- # kaocha (10)
- # lsp (41)
- # luminus (5)
- # malli (7)
- # meander (3)
- # membrane (47)
- # off-topic (23)
- # podcasts (2)
- # polylith (34)
- # rdf (4)
- # re-frame (2)
- # releases (2)
- # remote-jobs (1)
- # ring (16)
- # shadow-cljs (111)
- # spacemacs (6)
- # test-check (2)
- # tools-deps (19)
Hi, can anyone please remind me what I have to execute to switch a REPL to Clojurescript in an old (2018ish) Luminus+figwheel project? To avoid this message: Cannont load ClojureScript file into Clojure REPL
I’ve connected IntelliJ/Cursive to the nREPL running on port 7002, but I simply do not remember what I had to execute before being allowed to load CLJS namespaces.
I’m so used to shadow-cljs these days and there the equivalent is (shadow/repl :app)
UPDATE: Seems (cljs)
is what I was looking for. Thought it was more to it than that.
@mokr In Calva we use this to get legacy figwheel running.
(do (use 'figwheel-sidecar.repl-api) (if (not (figwheel-sidecar.repl-api/figwheel-running?)) (figwheel-sidecar.repl-api/start-figwheel!)) (figwheel-sidecar.repl-api/cljs-repl))
Is that what you need? Also, code similar to this could be in that Luminus project you have.
This is what I’ve been looking for!!!! Hours spent trying to reliably connect to this cljs repl for a work project
You made me smile here, @U02QSGN57N1. Happy this little snippet could help!
@mokr Use to skip my mind back then also. Here is a little gist I used: https://gist.github.com/Okwori/5f8fdd29e681fabbd367eb0b01b53708