From 7b0b320a76bdf377b49c92e7889eb3efdb5744e4 Mon Sep 17 00:00:00 2001 From: Florian Schroedl Date: Sat, 4 Apr 2026 18:21:53 +0200 Subject: [PATCH] fix: disable browser REPL preload that blocks script loading The default ClojureScript build includes clojure.browser.repl.preload which tries to connect to a REPL server on load. When no REPL is running, this blocks the goog.require chain and the app never initializes (stuck on "Loading from local store"). Set :preloads [] and :browser-repl false in build.edn. --- build.edn | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/build.edn b/build.edn index d435160..6027422 100644 --- a/build.edn +++ b/build.edn @@ -1,5 +1,7 @@ -{:main pocketbook.todomvc - :output-to "example/todomvc/js/main.js" - :output-dir "example/todomvc/js/out" - :asset-path "js/out" - :optimizations :none} +{:main pocketbook.todomvc + :output-to "example/todomvc/js/main.js" + :output-dir "example/todomvc/js/out" + :asset-path "js/out" + :optimizations :none + :preloads [] + :browser-repl false}