Skip to content

Commit a0b9521

Browse files
author
dnolen
committed
add timestamp to URL so Safari doesn't try to load cached stuff which
we may be writing to out
1 parent 0f7d221 commit a0b9521

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@
304304
(println "Listening for browser REPL connect ..."))
305305
(server/start repl-env)
306306
(when launch-browser
307-
(browse/browse-url (str "http://" (:host repl-env) ":" (:port repl-env))))))
307+
(browse/browse-url
308+
(str "http://" (:host repl-env) ":" (:port repl-env) "?rel=" (System/currentTimeMillis))))))
308309

309310
(defrecord BrowserEnv []
310311
repl/IJavaScriptEnv

0 commit comments

Comments
 (0)