you need to add com.cemerick/piggieback to the project.clj (dependency 
section) as well as adding cider/cider-nrepl "0.10.0-SNAPSHOT" and 
refactor-nrepl to the plugin section.
then in the :figwheel section, you need to add 

:nrepl-middleware ["cemerick.piggieback/wrap-cljs-repl" 
"cider.nrepl/cider-middleware" "refactor-nrepl.middleware/wrap-refactor"]

should be running great.     


On Friday, November 27, 2015 at 7:53:32 PM UTC+7, Karel Miarka wrote:
>
> The plugins were pulled, cider namespace required, everything is OK when I 
> connect from Cider to "lein repl". Works fine in both spacemacs and prelude.
>
> Both cider & refactor middleware warnings occur only in spacemacs when I 
> start "lein figwheel" with nREPL as I'm used to.
> In prelude there was only the cider middleware warning, refactor was not 
> complaining.
> In spacemacs both warnings appear also with clojure-emacs/example-config 
> which uses 0.9.1 Cider release when connecting agains "lein figwheel".
>
> It worked fine with my old 32bit setup. I used to run just "lein figwheel" 
> for both server and client to save memory. And then connected to the nREPL 
> 2x and run figwheel.side-car/cljs-repl in one of them.
>
> Thanks for the help. I will try to play with my project.clj file or solve 
> it by running "lein repl" for the server and "lein figwheel" for the client 
> part.
>
> On Friday, November 27, 2015 at 12:56:00 AM UTC+1, Artur Malabarba wrote:
>>
>> Looks like your plugins are not getting pulled by leiningen.
>>
>> Delete your .m2/ snapshots and then start lein repl in a terminal. Do you 
>> see the plugins being pulled? 
>>
>> In this repl, are you able to require cider namespaces? Try: (require 
>> 'cider.nrepl.middleware.debug) 
>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to