Fork me on GitHub
#cider
<
2018-06-07
>
bozhidar01:06:58

@bhauman What exactly is the problem you have with deployments? On Clojars you’ve got access to https://clojars.org/groups/cider

bozhidar01:06:23

Technically you can deploy updates to everything under cider/. 🙂

bozhidar01:06:30

@richiardiandrea Regarding making things flexible - the form for booting a cljs repl can be a string or a function generating a string. If you need to generate something dynamically, prompting the user for input and so on - that’s the way to go.

richiardiandrea02:06:03

Yep I saw that, it is nice, please comment on the PR for the best approach...Bruce was asking about interactive build ids for instance. I did not want to answer that before you give your opinion simple_smile

bozhidar04:06:55

That’s what we do for shadow, so I’d probably do the same with figwheel for consistency.

richiardiandrea04:06:52

Oh cool I can check and enable that for both, didn't know that

bozhidar04:06:17

Btw, I cut 0.3.6 while waiting at my gate.

richiardiandrea04:06:20

Will bump cider tomorrow

rhansen13:06:53

I'm sorry if this is written down somewhere, I couldn't find it in the documentation. Is there anyway of specifying which alias to use when calling cider-jack-in in a deps.edn project?

rhansen13:06:17

like cider-jack-in -A:test

bozhidar17:06:16

Well, it doesn’t work quite like this.

bozhidar17:06:01

There are a few cider-clojure-cli-* defcustoms which control what gets invoked on cider-jack-in. I guess you should just modify one of those.

richiardiandrea18:06:20

@rhansen I use this in my .dir-locals.el:

((nil . (cider-preferred-build-tool . "clojure-cli")
         (cider-clojure-cli-global-options . "-A:cljs-jvm:dev:unit-test")))

👍 4
hlolli18:06:17

speaking of alias, is there any neat way to have two leiningen profiles from a project, I'm still thiking if a minimal cider-jack-in-with-lein-profile function would be worth adding. I could make one myself. Otherwise I guess it's only the global variable (set-variable 'cider-lein-parameters "with-profile +my-profile repl") that would need to be changed before starting a new profile.

hlolli18:06:50

well, it's not such a big deal, I'm makeing a boilerplate for a cljc project. I leave the headache to the user to choose clj vs cljs profile.

ag19:06:48

anyone having problems with code reloading in CIDER 0.18.0snapshot (package: 20180606.1608) ?

richiardiandrea20:06:35

Code reloading is usually a repl/underlying tool concern I guess, what error do you get

richiardiandrea22:06:53

so how to I execute a (require 'my-ns.core :reload) in cider?

richiardiandrea22:06:05

which function achieves that?

dpsutton22:06:26

cider-refresh-after-fn

richiardiandrea22:06:42

(I am not using tools.namespace)

dpsutton22:06:42

oh wait. thought you meant after refreshing. sorry

richiardiandrea22:06:55

yeah just a require + :reload

dpsutton22:06:17

i'm not sure i follow. there's nothing that does a require that i know of

dpsutton22:06:27

there's cider-refresh of course to reload

dpsutton22:06:19

check the comma menu. should be refresh/restart in there

richiardiandrea22:06:23

so I though cider had the same...

richiardiandrea22:06:37

yep but that's tools.namespace...I guess, but will explore

richiardiandrea23:06:57

othe q. is there a way to create a cljs buffer only with no clj buffer?

dpsutton23:06:40

not that i've ever heard of. cljs is always a sibling

dpsutton23:06:51

unless you manually invoke the startup shenanigans

richiardiandrea23:06:17

thanks a lot, I was afraid of that 😄

richiardiandrea23:06:39

I have functions for sending the shenanigans to REPL, I will use those

ag23:06:52

> is there a way to create a cljs buffer only with no clj buffer? Technically when you do (cljs-repl) in becomes cljs only buffer, right?

ag23:06:27

I guess you're trying to get a way to do cider-jack-in-cljs with only one cljs buffer?