This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # aws (2)
- # aws-lambda (1)
- # beginners (62)
- # cider (31)
- # cljs-dev (16)
- # cljsrn (8)
- # clojure (115)
- # clojure-greece (3)
- # clojure-israel (2)
- # clojure-italy (13)
- # clojure-nl (8)
- # clojure-russia (5)
- # clojure-spec (3)
- # clojure-uk (146)
- # clojurescript (108)
- # clojutre (5)
- # code-reviews (3)
- # cursive (48)
- # datomic (22)
- # editors (20)
- # emacs (7)
- # fulcro (16)
- # graphql (10)
- # mount (2)
- # off-topic (47)
- # onyx (22)
- # re-frame (100)
- # reagent (5)
- # reitit (7)
- # ring-swagger (6)
- # rum (5)
- # shadow-cljs (51)
- # specter (2)
- # tools-deps (95)
- # vim (10)
- # yada (7)
I'm on CIDER 0.18.0snapshot (package: 20180611.2335) and my cljs repl doesn't get set properly. I can manually call
cider-repl-set-type and that will make my next cider eval work, but after that gets set back to clj so I need to do that before each eval I want to do.
@bbss Sounds similar to https://github.com/clojure-emacs/cider/issues/2305
I’ll look at this when I can, but everyone is welcome to beat me to it. I’ll also likely add some override for the auto-detection the REPL type.
Seems our middleware check for the repl type doesn’t work properly for shadow, but so far I haven’t had time to debug this.
Here’s another discussion of the problem and a workaround for it https://github.com/clojure-emacs/cider/pull/2316
I've seen that one before and even got two emacs functions from richiardiandrea , but couldn't get them to work, only one of the functions evalled
This can be fixed properly only in the middleware, as I wrote somewhere in the PR comments. Anyways, I’ll try to add some form of the proposed workaround later today.
I can manage with the live-reload in the cljs world, in clj it would be pretty annoying to not have inline eval.
@bozhidar I've updated to
CIDER 0.18.0snapshot (package: 20180621.1033) but now when I select shadow-cljs in the jack in process I get:
error in process sentinel: Could not start nREPL server: npx: installed 225 in 4.837s command not found: server
I'm not sure it's related to the most recent cider commit, I don't see anything that does something with a server.
shift-u x to update, so maybe some other packages got updated as well?
What exactly is the command CIDER is running for you? Isn’t it
npx shadow-cljs server?
Running through the shadow-cljs installation instructions again, seems I didn't need those last time
@bozhidar https://shadow-cljs.github.io/docs/UsersGuide.html#_launch_the_clojurescript_repl says to use
cider-create-sibling-cljs-repl but I don't seem to have that according to my helm
Before it was more easy, I'd just run cider-jack-in-cljs and it would ask me the host port and build and set-up a clojure and clojurescript repl.
The manual is a bit outdated right now. Unfortunately the PR which introduced the connection management changes didn’t update any documentation.
cider-jack-in-cljs now creates only a ClojureScript REPL, as many people mentioned in the past they wanted a command that didn’t create an extra Clojure REPL.
Ah, that’s the shadow-cljs manual. Well, it can’t be updated before 0.18 is released.
Yeah, makes sense. I'm happy it works, and I also sometimes didn't need the extra clj repl, when I am using a remote repl instead of running a server locally.
@bozhidar this last commit breaks for me https://github.com/clojure-emacs/cider/commit/28bdc1f2897d351f8a1761e4cf121a1dd353a667