Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add convenience (cljs-repl) function to one.sample.repl.

  • Loading branch information...
commit 9597981db658d9295eb7b3e4799852c92a82ff13 1 parent 66a8a4f
Brenton Ashworth and Craig Andera authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/app/clj/one/sample/repl.clj
View
7 src/app/clj/one/sample/repl.clj
@@ -23,6 +23,13 @@
(future (Thread/sleep 3000)
(browse/browse-url "http://localhost:8080")))
+;; This is a convenience function so that people can start a CLJS REPL
+;; without having to type in (tools/cljs-repl)
+(defn cljs-repl
+ "Start a ClojureScript REPL."
+ []
+ (tools/cljs-repl))
+
(println)
(println "Type (go) to launch the development server and setup a browser-connected REPL.")
(println "Type (dev-server) to launch only the development server.")
Please sign in to comment.
Something went wrong with that request. Please try again.