Skip to content

Commit 6613c7b

Browse files
committed
CLJS-2609: Shared AOT cache: New :aot-cache flag doesn't appear to work for browser RPL
1 parent f475126 commit 6613c7b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/clojure/cljs/repl/browser.clj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,8 @@
308308
(spit target
309309
(build/build
310310
'[(require '[clojure.browser.repl.preload])]
311-
{:optimizations :none
312-
:output-dir output-dir
313-
:opts-cache "brepl_opts.edn"}))))
311+
(merge (select-keys opts cljsc/known-opts)
312+
{:opts-cache "brepl_opts.edn"})))))
314313
(repl/err-out
315314
(println "Serving HTTP on" (:host repl-env) "port" (:port repl-env))
316315
(println "Listening for browser REPL connect ..."))

0 commit comments

Comments
 (0)