jesseduffield / jesseduffield/lazydocker

up --watch support

Open
#720 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
52.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
This may exist already, but currently if I have a docker compose stack with a developer watch section, I (think I?) need to run `docker compose up --watch` in one terminal and then run lazydocker to keep an eye on logs or whatever. It'd be nice if there was a clean way to bring up the compose stack with a watch up front.

**Describe the solution you'd like**
My preference would be for the "U" shortcut to prompt like the "D" shortcut does -- currently it confirms, the default option could be an up without watches, meaning the same number of keystrokes as existing functionality, with a down/enter enabling watches. If watches exist, defaulting to watch-enabled would be nice, but that may be personal preference and not what's best for the general public.

**Describe alternatives you've considered**
I have a flow that works as-is, (two terminals), but otherwise, a separate keybinding or doing a custom command to do up/watch would work (I think?)

**Additional context**
I try to use develop/watch in most projects I have, it really streamlines development if containers resync/rebuild as soon as code changes, allowing a faster turnaround for development. Likewise, lazydocker is great for poking at logs and the like, so I'd love to just use both together all of the time.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.