Skip to content

Commit

Permalink
Fix Piggieback CLJS setup in template
Browse files Browse the repository at this point in the history
  • Loading branch information
weavejester committed Jan 8, 2019
1 parent ee95ac3 commit b0dd497
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lein-template/resources/leiningen/new/duct/base/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
:prep-tasks ["javac" "compile" ["run" ":duct/compiler"]]
:profiles
{:dev [:project/dev :profiles/dev]
:repl {:prep-tasks ^:replace ["javac" "compile"]
:repl {:prep-tasks ^:replace ["javac" "compile"]{{#cljs?}}
:dependencies [[cider/piggieback "0.3.10"]]{{/cljs?}}
:repl-options {:init-ns user{{#cljs?}}
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]{{/cljs?}}}}
:nrepl-middleware [cider.piggieback/wrap-cljs-repl]{{/cljs?}}}}
:uberjar {:aot :all}
:profiles/dev {}
:project/dev {:source-paths ["dev/src"]
Expand Down

0 comments on commit b0dd497

Please sign in to comment.