This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-06
Channels
- # announcements (12)
- # babashka (34)
- # beginners (85)
- # calva (76)
- # cider (14)
- # clj-kondo (49)
- # cljs-dev (32)
- # clojure (418)
- # clojure-europe (3)
- # clojure-france (4)
- # clojure-italy (17)
- # clojure-losangeles (8)
- # clojure-nl (5)
- # clojure-norway (2)
- # clojure-spec (2)
- # clojure-uk (88)
- # clojuredesign-podcast (4)
- # clojurescript (49)
- # clojurex (75)
- # clr (2)
- # core-async (13)
- # cursive (6)
- # datomic (57)
- # duct (31)
- # emacs (6)
- # fulcro (25)
- # graalvm (67)
- # graphql (13)
- # hoplon (1)
- # java (6)
- # juxt (11)
- # kaocha (5)
- # keechma (2)
- # leiningen (16)
- # mount (1)
- # off-topic (19)
- # pathom (2)
- # pedestal (1)
- # re-frame (11)
- # reagent (21)
- # reitit (22)
- # rewrite-clj (1)
- # shadow-cljs (98)
- # spacemacs (5)
- # sql (16)
- # tools-deps (8)
- # vim (28)
- # xtdb (4)
Hi could I ask how one can start up all the repls properly? I recently created a new app with luminus template with +shadow-cljs and +re-frame option. I’m able to jack-in to clj (backend) nrepl to start up the server etc etc (from what I understand cider-jack-in-clj just runs lein repl
? and injects needed things. Thank you for the recent post @bozhidar 🙂 ) but now I’m confused how I can have another nrepl running for cljs. +shadow-cljs option in luminus adds lein shadow
command (`lein shadow watch app`) that starts up the shadow-cljs process. Is there way for me to work with cider to start it up? I prefer not to go to terminal to start up if possible - mostly because just running lein shadow watch app
doesn’t inject cider-nrepl that spacemacs uses (latest available). Thank you very much in advance - from a noob starting to play with clojure
@jeeq The shell command is supposed to start a plain Clojure REPL which gets upgraded to ClojureScript by running some Clojure form in it. I have no idea what those commands you mention are doing, but I’m reasonably sure you don’t really need to run them with cider-jack-in
.
it looks like the shadow plugin tries take care of npm stuff and then run lein run -m shadow.cljs.devtools.cli watch app
or something like it. Sorry for the confused beginner question. It looks like the lein-shadow plugin does some shadow-cljs config generating that may be bit of hassle to work from repl like it is here (https://shadow-cljs.github.io/docs/UsersGuide.html#_clojure_repl)
I may just keep shadow-cljs separate and just point cljs stuff to proper nrepl with sesman
Did anything recently change in CIDER that could lead to Emacs memory leaks and terrible slowdowns?
In the past few versions, CIDER has been an absolute turtle for me. I haven't analyzed the reason yet, but cider.nrepl.middleware.track-state
appears here and there.
I am using the latest version on different projects (little-to-medium size) and I haven't experienced any slowness yet.
@alexyakushev I don’t even remember the last time we’ve made changes to track-state
. In general there haven’t been any big changes on the cider-nrepl in the past few releases, apart from moving some things out cider-nrepl and into orchard.
does parse edn run on the response from track state? any chance the parser is slow and big namespaces choke it?
I don’t recall. I think it was just a list of strings, which we probably read with the Elisp reader.