Host-side worker process lifecycle: spawn a JVM running skeptic.worker.server,
read the port handshake off its stdout, and tear it down. The caller passes
a single launch classpath assembled by skeptic.worker.classpath —
project-cp first, worker jars second, Skeptic's own worker source tail.
Host-side worker process lifecycle: spawn a JVM running skeptic.worker.server, read the port handshake off its stdout, and tear it down. The caller passes a single launch classpath assembled by `skeptic.worker.classpath` — project-cp first, worker jars second, Skeptic's own worker source tail.
(spawn! combined-cp root verbose?)Inputs: [combined-cp :- s/Str root :- s/Str verbose? :- s/Bool] Returns: {:proc s/Any, :port s/Int}
Launch the worker JVM with root as its working directory. The worker's
cwd is the project root by contract: relative project state — the
node_modules walk that feeds the cljs analyzer's :node-module-index,
relative paths in project config — resolves against it, exactly as it
does under the project's own build. The Lein entrypoint sets the same
directory through lein's eval-in machinery.
Inputs: [combined-cp :- s/Str root :- s/Str verbose? :- s/Bool]
Returns: {:proc s/Any, :port s/Int}
Launch the worker JVM with `root` as its working directory. The worker's
cwd is the project root by contract: relative project state — the
`node_modules` walk that feeds the cljs analyzer's `:node-module-index`,
relative paths in project config — resolves against it, exactly as it
does under the project's own build. The Lein entrypoint sets the same
directory through lein's eval-in machinery.(stop! {:keys [proc stop-fn]})Inputs: [{:keys [proc stop-fn]} :- #:s{Keyword s/Any}] Returns: s/Any
Inputs: [{:keys [proc stop-fn]} :- #:s{Keyword s/Any}]
Returns: s/Anycljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |