Liking cljdoc? Tell your friends :D

cljs-reload.core

Public lifecycle, reload operation, and inspectable state for cljs-reload.

Public lifecycle, reload operation, and inspectable state for cljs-reload.
raw docstring

*load-file-fn*clj

The reload primitive. Dynamic only to make compile/eval recovery testable.

The reload primitive. Dynamic only to make compile/eval recovery testable.
sourceraw docstring

affectedclj

(affected)
source

changedclj

(changed)
source

init!clj

(init! {:keys [source-paths] :or {source-paths ["src"]}})

Scans source paths without attaching to a REPL. Useful for graph inspection.

Scans source paths without attaching to a REPL. Useful for graph inspection.
sourceraw docstring

last-errorclj

(last-error)
source

last-reloadclj

(last-reload)
source

reload!clj

(reload!)

Rescans, plans, recompiles, and evaluates changed project namespaces and all affected project dependents. Errors are recorded and returned, not thrown out of the watcher thread.

Rescans, plans, recompiles, and evaluates changed project namespaces and all
affected project dependents. Errors are recorded and returned, not thrown out
of the watcher thread.
sourceraw docstring

reload-orderclj

(reload-order)
source

start!clj

(start! options)
(start! options {:keys [repl-env compiler compiler-options] :as context})

Attaches cljs-reload to the current cljs.repl dynamic environment.

The two-arity form is the practical lifecycle seam used by cljs-reload.repl; context contains the already-created REPL environment, compiler atom, compiler/REPL options, and output streams.

Attaches cljs-reload to the current cljs.repl dynamic environment.

The two-arity form is the practical lifecycle seam used by
`cljs-reload.repl`; `context` contains the already-created REPL environment,
compiler atom, compiler/REPL options, and output streams.
sourceraw docstring

stateclj

(state)

Returns the complete reload state as ordinary Clojure data.

Returns the complete reload state as ordinary Clojure data.
sourceraw docstring

stop!clj

(stop!)

Stops the watcher. The last source graph and reload result remain inspectable.

Stops the watcher. The last source graph and reload result remain inspectable.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close