Liking cljdoc? Tell your friends :D

cljest.compilation.server


!build-statusclj

The current build status, used by the /build-status endpoint. The following statuses may be in the atom:

  • :unknown - When the initial devtools.api/watch hasn't completed.
  • :success - If the initial compilation or any subsequent incremental compilations via watch-compile! succeed.
  • :initial-failure - If the initial compilation failed.
  • :failure - If an incremental compilation fails.

Additionally, if the :status is :failure/:initial-failure, two additional keys will be in the map:

  • :error - the specific error that caused the compilation to fail.
  • :raw-status - the raw type that comes from the [:shadow.cljs.model/worker-output target] topic event.
The current build status, used by the /build-status endpoint. The following statuses may be in the atom:

- :unknown - When the initial `devtools.api/watch` hasn't completed.
- :success - If the initial compilation or any subsequent incremental compilations via `watch-compile!` succeed.
- :initial-failure - If the initial compilation failed.
- :failure - If an incremental compilation fails.

Additionally, if the :status is :failure/:initial-failure, two additional keys will be in the map:

- :error - the specific error that caused the compilation to fail.
- :raw-status - the raw `type` that comes from the `[:shadow.cljs.model/worker-output target]` topic event.
sourceraw docstring

start-server!clj

(start-server!)

Starts the Jest compilation server on the port in cljest.edn.

Starts the Jest compilation server on the port in cljest.edn.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close