Skip to content

Instantly share code, notes, and snippets.

@alvinfrancis
Created August 27, 2014 03:33
Show Gist options
  • Save alvinfrancis/3014bfcf53378450d8c0 to your computer and use it in GitHub Desktop.
Save alvinfrancis/3014bfcf53378450d8c0 to your computer and use it in GitHub Desktop.
Clojurescript dev profile for browser-repl with Austin
{: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)))]}]}
@alvinfrancis
Copy link
Author

NOTE (to self): Use Weasel instead of austin. This profile is deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment