cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
Clark Collins 2020-07-30T18:35:24.482900Z

Does anyone know of a good source or project template setting up Cider, Shadow-CLJS, Reagent? I can start a server and connect Cider to it, but I’m having some difficulty sending forms to the repl.

dpsutton 2020-07-30T19:44:33.483600Z

can you describe what you're doing? if connecting to an existing shadow server use shadow-select. if starting shadow's server in emacs just use shadow

Clark Collins 2020-07-30T20:54:56.483700Z

I can start the server and connect to it, can do things in the repl which are sent to the browser console (js/console.log “foobar”). But I’d like to to do cider-eval-last-sexp-to-replwhich does nothing for me currently.

Clark Collins 2020-07-30T21:06:59.483900Z

Basically I can’t C-x C-e anything from a source buffer to the repl

2020-07-30T21:10:09.484600Z

hey folks, cross-posting here at thheller’s suggestion: https://clojurians.slack.com/archives/C6N245JGG/p1596127530257600

dpsutton 2020-07-30T21:11:31.485Z

use shadow-select instead of shadow if you have the server running already

dpsutton 2020-07-30T21:11:35.485200Z

(I think)

dpsutton 2020-07-30T21:12:05.485700Z

and cider-connect-cljs not jack in. jack-in will own the process but you've already got one started

2020-07-30T21:12:25.486200Z

yeah that’s what I am doing, sounds like the docs are wrong then

2020-07-30T21:12:40.486400Z

thanks :thumbsup:

Clark Collins 2020-07-30T21:41:05.486700Z

For whatever reason it’s now working. Tried to replicate, broken again…