Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

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:

Clone this wiki locally