 (defn- get-active-bld-ids [prj]
   (->> prj
     :builds
+    vals
     (filter #(true? (:active? %)))
     (map :id)))
 

;; update the now timestamps every 0.25 second
;; (js/setInterval update-now! 250)

(defn- clear-compiled-info! [prj-key bld-idx]
  (swap! state update-in [:projects prj-key :builds bld-idx]
    assoc :last-compile-time nil
          :error nil
          :warnings []))

        (js-log "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"))

      (when @first-output?
        (mark-builds-as-waiting! prj-key bld-ids)
        (reset! first-output? false))

      (case type
