     (go
      (cond
       (reload-file-state? msg-names opts)
-      (if (and @autoload (:autoload opts))
+      (if (and (autoload?)
+               (:autoload opts))
         (<! (heads-up/flash-loaded))
         (<! (heads-up/clear)))
      

            console-print
            figwheel-repl-print))))

(defn get-essential-messages [ed]
  (when ed
    (cons (select-keys ed [:message :class])

          :compile-failed  (on-compile-fail msg)
          nil)))

;; this is seperate for live dev only
(defn heads-up-plugin-msg-handler [opts msg-hist']
  (let [msg-hist (focus-msgs #{:files-changed :compile-warning :compile-failed} msg-hist')
