From 94a551b2afe6c4fed60ce4e8f88fbee8f1578b61 Mon Sep 17 00:00:00 2001 From: Jakub Pachciarek Date: Fri, 15 Dec 2017 23:13:10 +0100 Subject: [PATCH] execute javac before figwheel start --- plugin/src/leiningen/figwheel.clj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/src/leiningen/figwheel.clj b/plugin/src/leiningen/figwheel.clj index b9d39b89..59a3909c 100644 --- a/plugin/src/leiningen/figwheel.clj +++ b/plugin/src/leiningen/figwheel.clj @@ -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)))