Skip to content

Commit

Permalink
Update figwheel instructions
Browse files Browse the repository at this point in the history
This is to match what figwheel-main-template produces, it could trip up new
ClojureScript users.
  • Loading branch information
zzantares authored and bbatsov committed May 30, 2023
1 parent 8023414 commit ec97c88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/modules/ROOT/pages/cljs/figwheel.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ deps.edn.
----
{:aliases {:fig {:extra-deps
{com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
com.bhauman/figwheel-main {:mvn/version "0.2.3"}}}}}
com.bhauman/figwheel-main {:mvn/version "0.2.17"}}}
:build {:main-opts ["-m" "figwheel.main" "-b" "dev" "-r"]}}}
----
+
. Add this option to your project's `.dir-locals.el` before opening the
Expand All @@ -77,7 +78,7 @@ use `revert-buffer`.)
+
[source,lisp]
----
((clojurescript-mode . ((cider-clojure-cli-aliases . "-A:fig"))))
((clojurescript-mode . ((cider-clojure-cli-aliases . "-M:fig:build"))))
----

TIP: If you didn't setup `.dir-locals.el` you can edit the command-line
Expand Down

0 comments on commit ec97c88

Please sign in to comment.