Liking cljdoc? Tell your friends :D

io.dominic.wedge.dev

Functions commonly used from a dev namespace. Recommended usage is like:

(ns dev
  (:require [io.dominic.wedge.dev :refer :all]))
Functions commonly used from a `dev` namespace.  Recommended usage is like:
```
(ns dev
  (:require [io.dominic.wedge.dev :refer :all]))
```
raw docstring

add-dev-system-fixture!clj

(add-dev-system-fixture! lifecycle key f)

Register function to run with changes to the dev system. lifecycle can be one of :start-once, :start-always, :stop-once, :stop-always. Those ending in -once will only run if the system is actually changing (i.e. not on reset or suspend), -always runs on every call to stop/start. key should be a globally unique key to identify this fixture. f should be a function of no args which will be called when the lifecycle is matched.

Safe to call multiple times, will replace existing functions when doing so.

Register function to run with changes to the dev system.  `lifecycle` can be
one of :start-once, :start-always, :stop-once, :stop-always.  Those ending in
`-once` will only run if the system is actually changing (i.e. not on reset
or suspend), `-always` runs on every call to stop/start.  `key` should be a
globally unique key to identify this fixture.  `f` should be a function of no
args which will be called when the lifecycle is matched.

Safe to call multiple times, will replace existing functions when doing so.
sourceraw docstring

cljs?clj

source

generate-toolingclj

(generate-tooling)
(generate-tooling clj-aliases)
source

goclj

(go)

Calls start. Exists for compatibility with other component libraries.

Calls `start`.  Exists for compatibility with other component libraries.
sourceraw docstring

remove-dev-system-fixture!clj

(remove-dev-system-fixture! lifecycle key)

Remove a fixture added with add-dev-system-fixture!

Remove a fixture added with [[add-dev-system-fixture!]]
sourceraw docstring

resetclj

(reset)

Stop the running system, refresh using tools.namespace, and then start the new system.

Stop the running system, refresh using tools.namespace, and then start the
new system.
sourceraw docstring

resumeclj

(resume)
source

set-init!clj

(set-init! init-fn)

Set the initializer to init-fn. Should be a function which takes no arguments and returns the system config to use for the REPL.

Set the initializer to init-fn.  Should be a function which takes no
arguments and returns the system config to use for the REPL.
sourceraw docstring

startclj

(start)

Stops any existing systems and starts a new one calling the initializer set by set-init!

Stops any existing systems and starts a new one calling the initializer set
by set-init!
sourceraw docstring

stopclj

(stop)

Stop the running system (if running)

Stop the running system (if running)
sourceraw docstring

suspendclj

(suspend)
source

systemclj

source

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

× close