compose/pkg
Dan Miller 38b3f3b678 watch: use `sinceWhen` and `HistoryDone` to avoid spurious events (#557)
Here's our new watch strategy on Darwin in a nutshell:

1. Create an fsevents stream for events "since" the last event ID that
we saw globally.
2. Add a path that we want to watch
3. Add that path to a map of paths that we're watching _directly_.
4. Restart the event stream to pick up the new path.
5. Ignore all events for all watches until we've seen a `HistoryDone`
event.
6. Ignore the first `ItemCreated` event for paths we're watching that
are also directories
7. Otherwise, forward along all events.
2023-02-02 14:59:30 +01:00
..
api Merge pull request #10217 from glours/dry-run-pause-support 2023-01-31 14:56:27 +01:00
compose rename `convert` to `config` to align with compose v1 UX 2023-01-30 22:23:53 +01:00
e2e add support of privileged attribut in service.build section 2022-12-23 09:32:48 +01:00
mocks rename `convert` to `config` to align with compose v1 UX 2023-01-30 22:23:53 +01:00
progress update tty and plain text writers to support dry run mode 2023-01-30 09:27:17 +01:00
prompt use a simpler prompt implementation when we lack a terminal 2023-01-09 10:28:16 +01:00
utils debounce refresh requests with quietperiod 2023-01-18 22:12:54 +01:00
watch watch: use `sinceWhen` and `HistoryDone` to avoid spurious events (#557) 2023-02-02 14:59:30 +01:00