Skip to content
Mike Fikes edited this page Jun 4, 2015 · 19 revisions

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.

repl-verbose

Enable verbose reporting for the REPL. Useful for debugging. Defaults to false.

:repl-verbose true

watch

Watch a source directory for recompilation to avoid spinning up an additional JVM.

:watch "src"

watch-fn

:watch-fn (fn [] (println "built!"))

A function of no arguments to run after a successful build.

Clone this wiki locally