Liking cljdoc? Tell your friends :D

ws.env-repl

A Component that will start/stop REPL servers based on environment variables.

REPL_PORT - if set, start a Socket REPL server on this port

DEV_REPL_PORT - if set, start an optionally CIDER-enabled nREPL server on this port

The latter requires that cider/cider-nrepl and refactor-nrepl are on the classpath. They are require'd at runtime.

(env-repl/system) will return a Component; calling start on it will cause REPL servers to be started for each of the above environment variables, if set; calling stop on it will stop those REPL servers, if they are known to be started.

(env-repl/system 'repl-name) will return a Component that will use repl-name as the name for the Socket REPL, if it starts one. The default is 'repl

A Component that will start/stop REPL servers based on environment variables.

REPL_PORT - if set, start a Socket REPL server on this port

DEV_REPL_PORT - if set, start an optionally CIDER-enabled nREPL server on this port

The latter requires that cider/cider-nrepl and refactor-nrepl are on the
classpath. They are require'd at runtime.

(env-repl/system) will return a Component; calling start on it will cause REPL
servers to be started for each of the above environment variables, if set;
calling stop on it will stop those REPL servers, if they are known to be
started.

(env-repl/system 'repl-name) will return a Component that will use repl-name
as the name for the Socket REPL, if it starts one. The default is 'repl
raw docstring

start-cider-nreplclj

(start-cider-nrepl dev-repl-port)

Given a port number, start an optionally CIDER-enabled nREPL server. Returns the server (so it can be stopped later).

Given a port number, start an optionally CIDER-enabled nREPL server.
Returns the server (so it can be stopped later).
sourceraw docstring

start-socket-replclj

(start-socket-repl repl-port repl-name)

Given a port number and a name, start a Socket REPL server. Returns the server (although it can be stopped by name later).

Given a port number and a name, start a Socket REPL server.
Returns the server (although it can be stopped by name later).
sourceraw docstring

stop-cider-nreplclj

(stop-cider-nrepl server)

Given an nREPL server, stop it.

Given an nREPL server, stop it.
sourceraw docstring

stop-socket-replclj

(stop-socket-repl repl-name)

Given the name of a Socket REPL server, stop it.

Given the name of a Socket REPL server, stop it.
sourceraw docstring

systemclj

(system)
(system repl-name)

Create a new system. Optionally name the Socket REPL. Defaults to 'repl'.

Create a new system. Optionally name the Socket REPL.
Defaults to 'repl'.
sourceraw docstring

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

× close