четверг, 8 октября 2015 г., 6:26:43 UTC+3 пользователь Kaylen Wheeler написал:
> I'm trying to build a web app using both clojure and clojurescript.  So far, 
> the Clojure part is going well, but I'm having trouble with Clojurescript.
> 
> Specifically, I'm having trouble hooking up my Cider/NREPL/Autocomplete setup 
> with clojurescript.
> 
> Currently, I'm able to run a cider nrepl for Clojure.  However, I'm unable to 
> get a fully capable nrepl running that is hooked up to my figwheel/cljsbuild 
> process.
> 
> The best I currently have is a command-line repl, which obviously doesn't 
> support autocomplete.
> 
> Attempting cider-connect localhost 7888 doesn't work either.
> 
> Does someone have a solution to this problem?
> 
> Thanks.

Please, try to add this snippet to your project.clj (in :figwheel section):


   ;; Start an nREPL server into the running figwheel process
   :nrepl-port 7888

   ;; Load CIDER, refactor-nrepl and piggieback middleware
   :nrepl-middleware ["cider.nrepl/cider-middleware"
                      "refactor-nrepl.middleware/wrap-refactor"
                      "cemerick.piggieback/wrap-cljs-repl"]

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to