                     (throw
                      (ex-info "start-system! failed and unwound"
                               {:state st
-                               :error e}))))))))))
+                               :error e}))))))))
+
+     :cljs
+     (-> (run-state system-builder seed))))
 (defn- system-map*
   [system]
   (filter-system-map system))

     (d/chain
      dsys
      (fn [[_ system]]
        (stop-system* system)))))

(defn start-system!
  "given a system-builder, start a system with the seed config

     (d/chain
      dsys
      (fn [[_ system]]
        (system-map* system)))

     :cljs
     (p/then
      dsys
      (fn [[_ system]] (system-map* system)))))

(comment
  (require '[deferst.system :as dfs])
