       options)))
 
 (comment
-  (sane-output-to-dir {:output-dir "yes"})
+  (default-optimizations-to-none {:optimizations :simple})
+  
+  (sane-output-to-dir {:output-dir "yes" })
 
   (sane-output-to-dir {:output-to "yes.js"})
 
   (sane-output-to-dir {:output-dir "yes/there"})
 
-  (sane-output-to-dir {:output-to "outer/yes.js"})  
-  
+  (sane-output-to-dir {:output-to "outer/yes.js"})
   )
 
 (defn fix-build-options [build-options]
   (->> build-options
+    (default-optimizations-to-none)
     (apply-to-key normalize-dir :output-dir)
     (sane-output-to-dir)
     (apply-to-key namify-module-entries :modules)

(defn optimizations-none?
  "returns true if a build has :optimizations set to :none"
  [build]
  (= :none (get-in build [:compiler :optimizations])))

;; checking to see if output dir is in right directory
(defn norm-path

(defn check-for-valid-options
  "Check for various configuration anomalies."
  [{:keys [http-server-root] :as opts} print-warning build']
  (let [build-options (get-build-options build')
        opts? (and (not (nil? build-options)) (optimizations-none? build'))]
    (map
     #(str "Figwheel Config Error (in project.clj) - " %)
     (filter identity
