This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (7)
- # beginners (107)
- # boot (5)
- # calva (2)
- # cider (18)
- # clj-kondo (48)
- # cljs-dev (16)
- # cljsrn (2)
- # clojure (208)
- # clojure-berlin (1)
- # clojure-dev (25)
- # clojure-europe (14)
- # clojure-italy (10)
- # clojure-nl (10)
- # clojure-sg (1)
- # clojure-spec (52)
- # clojure-uk (13)
- # clojurescript (53)
- # cursive (7)
- # data-science (7)
- # datomic (4)
- # duct (1)
- # events (10)
- # fulcro (1)
- # graphql (5)
- # jobs (2)
- # kaocha (13)
- # leiningen (6)
- # off-topic (17)
- # pathom (4)
- # quil (6)
- # re-frame (52)
- # reagent (12)
- # reitit (3)
- # shadow-cljs (97)
- # spacemacs (10)
- # sql (39)
- # tools-deps (18)
- # uncomplicate (1)
- # xtdb (1)
when using cider, is there a way to force reloading an entire ns at once? the equivalent of, say, killing the cider buffer/process and re-executing a jack-in?
thanks - that doesn't reboot the repl, just redoes the connection, but it did lead me to sesman-restart, which is bound to
C-c C-s r and did what I needed 🙂
Is it just me or does cider/nrepl 0.22.x take longer to display the results of form evaluation than cider 21? It certainly feels that since upgrading even evaluating simple forms sometimes takes longer… e.g.
(reduce + (range 999999)) which takes a few ms in clojure, sometimes takes a few seconds to print the result in the REPL with cider spinning the
===… other times the same form is near instant.
@rickmoynihan Can you try with 21 and see if that makes a difference?
@pez: perhaps later — not wanting to shave the dev env yak just now — what with a deadline looming 😬
it could equally be other stuff in my environment — though I know the time spent in clojure is the miniscule amount I’d expect
(time (reduce + (range 99999)) eventually prints the tiny amount of msecs clojure actually took
the form itself doesn’t seem to matter even evaluating
1 can take seconds
Interesting it appears that switching focus out of the REPL to my code buffer with e.g.
C-x o seems to force the REPL to display the result (and flush the
nrepl-messages. When I eval e.g.
4 I instantly see the
op in nrepl-messages; but none of the responses until I switch buffer
this took about 2 seconds… at the 2 second point I’d switched buffer with
C-x o at which point the result
4 displayed in the REPL
Also did cider 22 happen to change the binding of
C-M-x? I can’t see it mentioned in the release notes; but my muscle memory keeps hitting the former key chord… :thinking_face:
This binding has never been changed since the initial version of CIDER and was always
In that case it’s probably that I’m just not as used to my home keyboard as I thought 🙂
> Is it just me or does cider/nrepl 0.22.x take longer to display the results of form evaluation than cider 21? I can’t think of any change in 0.22 that would contribute to some slowdown of form evaluation. To me it seems exactly the same in terms of speed.
it’s weird it’s just in the REPL buffer… it’s like it only receives the nrepl responses after I change window. Evaling forms in the code buffer is fine.