Skip to content

Commit

Permalink
fix legacy dev http servers not starting
Browse files Browse the repository at this point in the history
fixes #961
  • Loading branch information
thheller committed Nov 22, 2021
1 parent 4e4ab31 commit 1d95fa2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main/shadow/cljs/devtools/server.clj
Original file line number Diff line number Diff line change
Expand Up @@ -378,14 +378,9 @@

app-ref))

(defn load-config []
(-> (config/load-cljs-edn)
;; system config doesn't need build infos
(dissoc :builds)))

(defn start!
([]
(let [config (load-config)]
(let [config (config/load-cljs-edn)]
(start! config)))
([sys-config]
(if (runtime/get-instance)
Expand Down

0 comments on commit 1d95fa2

Please sign in to comment.