diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..6a36bf8 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1 @@ +((nil . ((cider-cljs-lein-repl . "(do (require 'figwheel-sidecar.repl-api) (figwheel-sidecar.repl-api/start-figwheel!) (figwheel-sidecar.repl-api/cljs-repl))")))) diff --git a/project.clj b/project.clj index 1d8eecf..86457eb 100644 --- a/project.clj +++ b/project.clj @@ -49,7 +49,11 @@ :asset-path "js/generated/out-sidebar" :pretty-print true :source-map true}}}} - :plugins [[lein-figwheel "0.5.14"]]}] + :dependencies [[com.cemerick/piggieback "0.2.2"] + [org.clojure/tools.nrepl "0.2.10"] + [figwheel-sidecar "0.5.14"]] + :plugins [[lein-figwheel "0.5.14"]] + :repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}] :prod [:cljs-shared {:cljsbuild {:builds