branch: elpa/cider
commit ec97c88c46759afd929a415604311a3b2aecb338
Author: Julio César <zzanta...@gmail.com>
Commit: Bozhidar Batsov <bozhi...@batsov.dev>

    Update figwheel instructions
    
    This is to match what figwheel-main-template produces, it could trip up new
    ClojureScript users.
---
 doc/modules/ROOT/pages/cljs/figwheel.adoc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/modules/ROOT/pages/cljs/figwheel.adoc 
b/doc/modules/ROOT/pages/cljs/figwheel.adoc
index fe89138aca..ba56459a8c 100644
--- a/doc/modules/ROOT/pages/cljs/figwheel.adoc
+++ b/doc/modules/ROOT/pages/cljs/figwheel.adoc
@@ -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
@@ -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

Reply via email to