Skip to content

Commit

Permalink
don't reference figwheel.tools
Browse files Browse the repository at this point in the history
figwheel.tools middleware isn’t going to be a thing
  • Loading branch information
Bruce Hauman committed Feb 28, 2018
1 parent c6f8e95 commit 7f4365e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions sidecar/src/figwheel_sidecar/repl.clj
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,6 @@
[_ figwheel-env]
(try
(cond
(and (require? 'figwheel.tools.nrepl)
(when-let [present-var (resolve 'figwheel.tools.nrepl/*cljs-evaluator*)]
(thread-bound? present-var)))
(let [cljs-repl (resolve 'figwheel.tools.nrepl/cljs-repl)
opts' (:repl-opts figwheel-env)]
(apply cljs-repl figwheel-env (apply concat opts')))
(and (require? 'cemerick.piggieback)
(when-let [present-var (resolve 'cemerick.piggieback/*cljs-repl-env*)]
(thread-bound? present-var)))
Expand Down

0 comments on commit 7f4365e

Please sign in to comment.