(compile-garden-namespaces sym-nses)
Given a list of namespace symbols, reloads those namespaces, finds all definitiions with a :garden metadata key, and compiles them to CSS.
Given a list of namespace symbols, reloads those namespaces, finds all definitiions with a :garden metadata key, and compiles them to CSS.
(new-garden-watcher namespaces)
(new-garden-watcher namespaces hawk-options)
Create a new Sierra Component that watches the given namespaces for changes, and upon change compiles any definitions with a :garden metadata key to CSS.
Create a new Sierra Component that watches the given namespaces for changes, and upon change compiles any definitions with a :garden metadata key to CSS.
(start-garden-watcher! sym-nses hawk-options)
Starts a watcher which generates new CSS files when any source file associated with the given
namespaces changes.
See compile-garden-namespaces
.
Starts a watcher which generates new CSS files when any source file associated with the given namespaces changes. See `compile-garden-namespaces`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close