Skip to content

Commit

Permalink
fixing css reloading when build-id is specified in client
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Hauman committed Feb 13, 2015
1 parent 76b4f3e commit c14f2fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sidecar/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
[compojure "1.1.7"]
[clj-stacktrace "0.2.7"]
[cljsbuild "1.0.4"]
[clojurescript-build "0.1.4"]
[clojurescript-build "0.1.5"]
[watchtower "0.1.1"]
[digest "1.4.3"]])
4 changes: 3 additions & 1 deletion sidecar/src/figwheel_sidecar/auto_builder.clj
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@
(auto/autobuild*
{:builds builds
:builder (builder figwheel-server)
:each-iteration-hook (fn [_] (fig/check-for-css-changes figwheel-server))}))
:each-iteration-hook (fn [_ build]
(fig/check-for-css-changes
(merge-build-into-server-state figwheel-server build)))}))

(defn check-autobuild-config [all-builds build-ids figwheel-server]
(let [builds (config/narrow-builds* all-builds build-ids)]
Expand Down

0 comments on commit c14f2fd

Please sign in to comment.