lispcast / understanding-re-frame

Code to accompany the course Understanding Re-frame on PurelyFunctional.tv https://purelyfunctional.tv/courses/understanding-re-frame/
Creative Commons Zero v1.0 Universal
13 stars 7 forks source link

New cider plugins replace piggieback. #2

Open ptillemans opened 5 years ago

ptillemans commented 5 years ago

Hi Eric,

new versions of cider and Calva load cider/piggieback iso cemerick/piggieback

e.g.

lein update-in :dependencies conj \[nrepl\ \"0.6.0\"\] -- update-in :dependencies conj \[cider/piggieback\ \"0.4.1\"\] -- update-in :plugins conj \[refactor-nrepl\ \"2.5.0-SNAPSHOT\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.22.0-beta11\"\] -- repl :headless :host localhost

This breaks the emacs and vscode integration rather badly with difficult to interprete errors, well for me at least.

changing the repl-options to :

:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}

fixes the issue for me.

lucasemmoreira commented 4 years ago

It worked for me as well! thx @ptillemans !