    {:builds  builds
     :builder (builder figwheel-server)
     :each-iteration-hook (fn [_] (fig/check-for-css-changes figwheel-server))}))
+
+(defn check-autobuild-config [all-builds build-ids figwheel-server]
+  (let [builds (config/narrow-builds* all-builds build-ids)]
+    (config/check-config figwheel-server builds)))
 
 (defn autobuild-ids [{:keys [all-builds build-ids figwheel-server]}]
   (let [builds (config/narrow-builds* all-builds build-ids)

                            (mapv cbuild/clean-build (map :build-options builds))
                            (println "Deleting ClojureScript compilation target files.")))
        run-autobuilder (fn [figwheel-server build-ids]
                          (when-not (builder-running?)
                            (build-once* build-ids)
                            (binding [*out* log-writer
                                      *err* log-writer]
                              (when-let [abuild (autobuild-ids
                                                 { :all-builds all-builds
                                                   :build-ids build-ids
                                                   :figwheel-server figwheel-server })]
                                (reset! state-atom { :autobuilder abuild
                                                     :focus-ids build-ids})))))
        stop-autobuild*  (fn [_]
                           (if (builder-running?)
                             (do

    (when-let [id (:id repl-build)] (println " for build:" id))
    (println (repl-function-docs))
    (println "Prompt will show when figwheel connects to your application")
    ;; TODO it would be cool to switch the repl's build as well
    (fig-repl/repl repl-build figwheel-server {:special-fns special-fns})))

(defn autobuild [src-dirs build-options figwheel-options]
