Liking cljdoc? Tell your friends :D

c3kit.scaffold.css


-mainclj

(-main & args)

Compile Garden CSS and optionally watch for changes. args: once - compile once and exit auto - compile, then watch the source-dir and recompile on change (default)

Compile Garden CSS and optionally watch for changes.
args:
  once  - compile once and exit
  auto  - compile, then watch the source-dir and recompile on change (default)
raw docstring

auto-generateclj

(auto-generate config)

Watches :source-dir for changes via tools.namespace, reloads any changed namespaces, and regenerates CSS. Loops while running is true.

Watches `:source-dir` for changes via tools.namespace, reloads any
changed namespaces, and regenerates CSS. Loops while `running` is
true.
raw docstring

handle-errorclj

(handle-error error)

Pretty-prints a Throwable raised during namespace reload so that watch mode keeps running.

Pretty-prints a Throwable raised during namespace reload so that watch
mode keeps running.
raw docstring

install-shutdown-hook!clj

(install-shutdown-hook!)

Registers a JVM shutdown hook so SIGTERM/SIGINT cleanly stops the auto-generate loop.

Registers a JVM shutdown hook so SIGTERM/SIGINT cleanly stops the
auto-generate loop.
raw docstring

monitor-stdin!clj

(monitor-stdin!)

Spawns a daemon thread that reads stdin until EOF and then calls shutdown!. Stops orphaned CSS watchers when the parent process exits.

Spawns a daemon thread that reads stdin until EOF and then calls
`shutdown!`. Stops orphaned CSS watchers when the parent process
exits.
raw docstring

on-dev-compiledclj

(on-dev-compiled config)

If the config supplies an :on-css-compiled callback, invokes it with the resolved config map after each successful compilation.

If the config supplies an `:on-css-compiled` callback, invokes it with
the resolved config map after each successful compilation.
raw docstring

(print-exec-time tag expr)

resolve-on-css-compiledclj

(resolve-on-css-compiled options)

runningclj


shutdown!clj

(shutdown! main-thread)

Sets running to false and interrupts the given thread to break out of the auto-generate loop.

Sets `running` to false and interrupts the given thread to break out
of the auto-generate loop.
raw 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