Skip to content

Guide: Auto reloading with lein ring

Florian Sellmayr edited this page Jan 22, 2017 · 1 revision

Because LambdaCD is more than a simple ring-handler (i.e. it has background-threads with side effects), just passing the UI ring-handler to lein-ring is going to produce some strange behaviour.

To get auto-reloading to work with lein-ring, we therefore need to make sure our pipelines get shut-down (using the shutdown-sequence) and re-started (using a runner) on reload.

For details and a full example, see: