Skip to content
Opsfolk

Developer workflow, topic 34 of 41

Live reload

Rebuilding an image for every edit is slow. In development, mount your source into the container with a bind mount and let the language's own watcher restart the program, or use Compose Watch, which syncs changed files into the container and rebuilds only when a dependency file changes.

Keep the development setup in a Compose file of its own, so the image you ship is built the way production runs it.

On Opsfolk

Nothing of ours for this topic yet: an article is on its way.

Elsewhere

Your progress