Skip to content

Commit

Permalink
execute javac before figwheel start
Browse files Browse the repository at this point in the history
  • Loading branch information
HausnerR committed Dec 15, 2017
1 parent d21fb82 commit 94a551b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/src/leiningen/figwheel.clj
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@

;; well this is private in the leiningen.cljsbuild ns
(defn- run-local-project [project paths-to-add requires form]
(leval/prep project)
(let [project' (-> project
(update-in [:dependencies] conj ['figwheel-sidecar _figwheel-version_])
(update-in [:dependencies] conj ['figwheel _figwheel-version_])
(update-in [:resource-path] conj (:compile-path project))
(make-subproject paths-to-add))]
(eval-and-catch project' requires form)))

Expand Down

0 comments on commit 94a551b

Please sign in to comment.