This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-10
Channels
- # announcements (1)
- # babashka (5)
- # beginners (44)
- # calva (45)
- # cider (8)
- # clj-kondo (9)
- # cljdoc (12)
- # clojars (7)
- # clojure (20)
- # clojure-czech (1)
- # clojure-dev (26)
- # clojure-europe (24)
- # clojure-france (8)
- # clojure-uk (1)
- # clojurescript (12)
- # conjure (8)
- # datascript (10)
- # fulcro (7)
- # leiningen (2)
- # malli (19)
- # meander (5)
- # off-topic (113)
- # pathom (3)
- # precept (4)
- # re-frame (13)
- # reagent (19)
- # reitit (3)
- # rewrite-clj (69)
- # shadow-cljs (9)
- # spacemacs (16)
- # tools-deps (1)
- # vim (1)
- # xtdb (10)
Thanks for the info, I’ll add a issue to cider and, when i get a bit of time, I’ll try to PR.
Hi! I'm dabbling a bit in Clojurescript again, and I must say that my experience with CIDER and Clojurescript is way better now than it was two years ago! I'm really liking how easy it is to jack-in and get live-reloading and a browser-connected REPL 💯
Quick question. Is there a good way to provide arguments for cider-jack-in-cljs
in a project? I'm selecting shadow-cljs
, shadow
, :app
and "No, I do not want to open a browser" each time I'm starting my project. Could I provide this with .dir-locals.el
? Or is there another preferred way?
You can do it with .dir-locals.el
, yes! Here's the one I am using in my project:
((nil . ((cider-clojure-cli-global-options . "-A:dev")
(cider-default-cljs-repl . shadow-select)
(cider-shadow-default-options . ":main")))
(cider-mode (eval add-hook 'after-save-hook 'cider-eval-buffer nil t)))