Skip to content

Commit ec97c88

Browse files
zzantaresbbatsov
authored andcommitted
Update figwheel instructions
This is to match what figwheel-main-template produces, it could trip up new ClojureScript users.
1 parent 8023414 commit ec97c88

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/modules/ROOT/pages/cljs/figwheel.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ deps.edn.
6767
----
6868
{:aliases {:fig {:extra-deps
6969
{com.bhauman/rebel-readline-cljs {:mvn/version "0.1.4"}
70-
com.bhauman/figwheel-main {:mvn/version "0.2.3"}}}}}
70+
com.bhauman/figwheel-main {:mvn/version "0.2.17"}}}
71+
:build {:main-opts ["-m" "figwheel.main" "-b" "dev" "-r"]}}}
7172
----
7273
+
7374
. Add this option to your project's `.dir-locals.el` before opening the
@@ -77,7 +78,7 @@ use `revert-buffer`.)
7778
+
7879
[source,lisp]
7980
----
80-
((clojurescript-mode . ((cider-clojure-cli-aliases . "-A:fig"))))
81+
((clojurescript-mode . ((cider-clojure-cli-aliases . "-M:fig:build"))))
8182
----
8283

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

0 commit comments

Comments
 (0)