Created
August 27, 2014 03:33
-
-
Save alvinfrancis/3014bfcf53378450d8c0 to your computer and use it in GitHub Desktop.
Clojurescript dev profile for browser-repl with Austin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:shared {:clean-targets ["out" :target-path]} | |
:dev [:shared | |
{:resources-paths ["dev-resources"] | |
:source-paths ["dev-resources/tools/repl"] | |
:plugins [[com.cemerick/austin "0.1.4"]] | |
:injections [(require 'cemerick.austin.repls) | |
(defn browser-repl-env [] | |
(reset! cemerick.austin.repls/browser-repl-env | |
(cemerick.austin/repl-env))) | |
(defn browser-repl [] | |
(cemerick.austin.repls/cljs-repl (browser-repl-env)) | |
(println (cemerick.austin.repls/browser-connected-repl-js)))]}]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE (to self): Use Weasel instead of austin. This profile is deprecated.