Skip to content

Commit aceccf7

Browse files
committed
add browser REPL preload
1 parent 2cc8f92 commit aceccf7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
;; Copyright (c) Rich Hickey. All rights reserved.
2+
;; The use and distribution terms for this software are covered by the
3+
;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
4+
;; which can be found in the file epl-v10.html at the root of this distribution.
5+
;; By using this software in any fashion, you are agreeing to be bound by
6+
;; the terms of this license.
7+
;; You must not remove this notice, or any other, from this software.
8+
9+
(ns clojure.browser.repl.preload
10+
(:require [clojure.browser.repl :as repl]))
11+
12+
(defonce conn
13+
(repl/connect "http://localhost:9000/repl"))
14+
15+
(enable-console-print!)

0 commit comments

Comments
 (0)