This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-09
Channels
- # 100-days-of-code (6)
- # announcements (4)
- # atlanta-clojurians (1)
- # aws (1)
- # beginners (65)
- # boot (21)
- # cider (9)
- # cljsrn (3)
- # clojure (186)
- # clojure-android (4)
- # clojure-conj (1)
- # clojure-dev (12)
- # clojure-germany (3)
- # clojure-italy (8)
- # clojure-nl (1)
- # clojure-russia (32)
- # clojure-spec (19)
- # clojure-uk (41)
- # clojurescript (83)
- # core-async (5)
- # cursive (18)
- # datomic (15)
- # emacs (5)
- # events (4)
- # fulcro (7)
- # hyperfiddle (4)
- # leiningen (4)
- # liberator (1)
- # off-topic (65)
- # overtone (4)
- # pedestal (5)
- # perun (1)
- # planck (3)
- # re-frame (1)
- # reagent (3)
- # rum (5)
- # shadow-cljs (8)
- # spacemacs (19)
- # testing (3)
- # tools-deps (4)
- # yada (6)
Can I have cider auto-require and switch ns when I jack-in with clojure-cli like it does for lein?
@mfiano Not sure what you mean by this. There’s no functionality apart from the jack-in that’s build-tool specific.
Yeah, that’s lein specific indeed. I guess think we need to pass some namespace be evaluated in the command-line string for the cli-tools. @mfiano If that’s what you meant - please, file a ticket with CIDER.
@dominicm Btw, we can also add an initial ns to nREPL itself. I recall I discussed this idea with Chas back in the day. I never liked that the best approach we had was to just evaluate some (in-ns
after we connected. (I think this can some param we send clone
for instance).
(but that being said - doing something with the command-line would certainly be easier)
@bozhidar Well I have a deps.edn alias {:dev {:main-opts ["-e" "(require,'[mfiano.crawler.core,:as,crawler]),(in-ns,'mfiano.crawler.core)"]}}
and set cider-clojure-cli-global-options
to "-A:dev"
, but for some reason only the code is required and the ns stays at user, unlike running clj from a shell.