Liking cljdoc? Tell your friends :D

Development Mode

Pedestal can operate in two different modes: production, and local development.

Local development mode changes the behavior of a handful of macros and functions to support live development at the REPL.

Development mode is enabled via a configuration value.

The var api:dev-mode?[ns=io.pedestal.environment] stores the boolean result derived from reading the system property; there is no mechanism for turning development mode on or off during execution.

Certain macros, such as api:with-routes[ns=io.pedestal.connector], change their behavior when in development mode. If you are AOT compling your application prior to deployment, you must ensure that development mode is off when compiling, or you may get development mode behavior (and decreased performance) in your deployed production application.

Can you improve this documentation?Edit on GitHub

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