adzerk-oss/boot-cljs-repl

Please fix line 197 of boot_cljs_repl.clj

NOBLES5E opened this issue · 2 comments

It seems that otherwise we cannot add middleware (e.g. cider nrepl)

It works already if you use *default-middleware*:

(swap! boot.repl/*default-middleware* into
       '[cider.nrepl/cider-middleware
         refactor-nrepl.middleware/wrap-refactor])

Problem is just that you can use :middleware option with cljs-repl task, but I don't think that would be good practice anyway, at least with cider-nrepl. It is better to configure cider-nrepl and such on your own ~/.boot/profile.boot instead of project files, as these are user specific.

Thanks!!