@@ -82,22 +82,24 @@ helpful for identifying each host.
82
82
ClojureScript support relies on the [ piggieback] [ ] nREPL middleware being
83
83
present in your REPL session.
84
84
85
- Add the following dependencies to your project (` project.clj ` in Leiningen based project
86
- or ` build.boot ` in Boot project):
85
+ Add the following dependencies to your project (` project.clj ` in
86
+ Leiningen based project or ` build.boot ` in Boot project):
87
87
88
88
``` clojure
89
- [cider/piggieback " 0.3.0 " ]
89
+ [cider/piggieback " 0.3.1 " ]
90
90
[org.clojure/clojure " 1.7.0" ]
91
91
```
92
92
93
93
as well as ` piggieback ` nREPL middleware:
94
94
95
95
in ` project.clj ` :
96
+
96
97
``` clojure
97
98
:repl-options {:nrepl-middleware [cider.piggieback/wrap-cljs-repl]}
98
99
```
99
100
100
101
or in ` build.boot ` :
102
+
101
103
``` clojure
102
104
(task-options!
103
105
repl {:middleware '[cider.piggieback/wrap-cljs-repl]})
@@ -150,7 +152,7 @@ documentation lookup, the namespace browser, and macroexpansion).
150
152
[adzerk/boot-cljs-repl " X.Y.Z" :scope " test" ]
151
153
[pandeiro/boot-http " X.Y.Z" :scope " test" ]
152
154
[weasel " 0.7.0" :scope " test" ]
153
- [cider/piggieback " 0.3.0 " :scope " test" ]
155
+ [cider/piggieback " 0.3.1 " :scope " test" ]
154
156
```
155
157
156
158
and this at the end of ` build.boot ` :
@@ -187,10 +189,14 @@ You can also use [Figwheel](https://github.com/bhauman/lein-figwheel) with CIDER
187
189
2 . Add these to your dev ` :dependencies ` :
188
190
189
191
``` clojure
190
- [cider/piggieback " 0.3.0 " ]
191
- [figwheel-sidecar " 0.5.0-2 " ]
192
+ [cider/piggieback " 0.3.1 " ]
193
+ [figwheel-sidecar " 0.5.16 " ] ; use here whatever the current version of figwheel is
192
194
```
193
195
196
+ Keep in mind that figwheel 0.5.16 is the first to support piggieback
197
+ 0.3. If you're using an older figwheel you should stick to piggieback
198
+ 0.2.2 (which uses the old ` com.cemerick/piggieback ` package coordinates).
199
+
194
200
3 . Add this to your dev ` :repl-options ` :
195
201
196
202
``` clojure
0 commit comments