From cc756c00af377b6fd567b4a65dc68fe97e29c638 Mon Sep 17 00:00:00 2001 From: Toni Reina Date: Thu, 13 Oct 2016 21:30:25 +0200 Subject: [PATCH] Update lein-figwheel version Update it to latest version 0.5.8. Latest versions of lein-figwheel generate the "figwheel.connect" including the build id, so I updated figwheel-bridge to concat the platform id. --- resources/figwheel-bridge.js | 2 +- resources/project.clj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/figwheel-bridge.js b/resources/figwheel-bridge.js index f2e4132..a045e99 100644 --- a/resources/figwheel-bridge.js +++ b/resources/figwheel-bridge.js @@ -220,7 +220,7 @@ function loadApp(platform, devHost, onLoadCb) { // seriously React packager? why. var googreq = goog.require; - googreq('figwheel.connect'); + googreq('figwheel.connect.' + platform); }); }); } diff --git a/resources/project.clj b/resources/project.clj index 672d667..82d5477 100644 --- a/resources/project.clj +++ b/resources/project.clj @@ -7,12 +7,12 @@ [org.clojure/clojurescript "1.9.198"] $INTERFACE_DEPS$] :plugins [[lein-cljsbuild "1.1.4"] - [lein-figwheel "0.5.0-6"]] + [lein-figwheel "0.5.8"]] :clean-targets ["target/" "index.ios.js" "index.android.js"] :aliases {"prod-build" ^{:doc "Recompile code with prod profile."} ["do" "clean" ["with-profile" "prod" "cljsbuild" "once" ]]} - :profiles {:dev {:dependencies [[figwheel-sidecar "0.5.0-6"] + :profiles {:dev {:dependencies [[figwheel-sidecar "0.5.8"] [com.cemerick/piggieback "0.2.1"]] :source-paths ["src" "env/dev"] :cljsbuild {:builds [{:id "ios"