-
Notifications
You must be signed in to change notification settings - Fork 792
REPL Options
ClojureScript REPLs can take nearly all the same options that can be supplied to
cljs.closure/build, for details see Compiler Options. This page documents additional supported options.
Sets a source path to analyze upon REPL initialization so that, if it connects to an already-running JavaScript environment, symbols for any previously loaded namespaces are available.
:analyze-path "src"Sets whether def (and derived) forms evaluate to Vars (if set to true) or the def init value (if false). Only affects forms evaluated at the REPL; compiled code behaves as if set to false. Default value is true. (Currently available only in master.)
:def-emits-var falseEnable verbose reporting for the REPL. Useful for debugging. Defaults to false.
:repl-verbose trueWatch a source directory for recompilation to avoid spinning up an additional JVM.
:watch "src":watch-fn (fn [] (println "built!"))A function of no arguments to run after a successful build.
- Rationale
- Quick Start
- Differences from Clojure
- [Usage of Google Closure](Google Closure)