    [weasel "0.7.0" :scope "test"];; Websocket Server
    [io.dominic/boot-snippets "0.1.0" :scope "test"]])
 
-(require '[adzerk.boot-cljs :refer [cljs]]
-         '[adzerk.boot-cljs-repl :refer [cljs-repl start-repl]]
-         '[adzerk.boot-reload :refer [reload]]
-         '[boot.pod :as pod]
-         '[clojure.java.shell :as sh]
-         '[mathias.boot-sassc :refer [sass]]
-         '[io.dominic.boot-snippets :refer [with-env]])
-
 (def server-deps
   '[[aleph "0.4.1-beta3"]
     [bidi "1.24.0"]
     [hiccup "1.0.5"]
     [org.omcljs/om "1.0.0-alpha28"]
-    [yada "1.1.0-20160126.014942-13"]
+    [yada "1.1.11"]
+    [aero "1.0.0-beta2"]
 
     [com.stuartsierra/component "0.3.1"]
     

;; Copyright © 2016, JUXT LTD.

(set-env!
 :target-path "target/dev"
 :source-paths #{"sass" "src"}
 :resource-paths #{"resources"}
 :asset-paths #{"assets"}

(deftask frontend
  "Simple alias to run frontend application"
  []
  (require 'adzerk.boot-cljs
           'adzerk.boot-cljs-repl
           'adzerk.boot-reload
           'mathias.boot-sassc)
  (let [reload (resolve 'adzerk.boot-reload/reload)
        cljs-repl (resolve 'adzerk.boot-cljs-repl/cljs-repl)
        cljs (resolve 'adzerk.boot-cljs/cljs)
        cljs-build-deps (resolve 'adzerk.boot-cljs/deps)
        sass (resolve 'mathias.boot-sassc/sass)

        remove-unneeded-deps (fn [deps]
                               ;; # Reasons to keep each:
                               ;; - adzerk/boot-cljs     The impl stuff needs this as a dep
                               ;; - adzerk/boot-reload   Reloading requires that the cljs namespace of this is pulled in
                               ;; - weasel               Websocket client
                               (filter (comp #{'weasel 'adzerk/boot-cljs 'adzerk/boot-reload 'io.dominic/boot-cljs 'org.clojure/clojurescript} first) deps))
        cljs-env {:dependencies (-> (boot.core/get-env :dependencies)
                                    remove-unneeded-deps
                                    (concat @@(resolve 'adzerk.boot-cljs/deps))
                                    (concat frontend-deps)
                                    vec)}]
    (comp
     (watch)
     (speak)
