CLI v2.3.0
- Upgrade jaq to 2.0 (#902)
- Flags are ordered alphabetically in
--help --filter-progis no longer experimental (won't warn on use)--only-emit-eventsnow implies--emit-events-to=json-stdio- Zero-value unitless time spans are no longer deprecated (#909)
- Linux build machines for the pre-built binaries now use Ubuntu 24.04; if you require an older glibc you'll need to build from source
New feature: --socket (#905)
This implements the systemd socket-passing protocol, like a lightweight systemfd: sockets are opened from the watchexec process, and then passed to the commands it runs. This lets you keep sockets open and avoid address reuse issues or dropping packets.
The value can be either of PORT (opens a TCP listening socket at that port), HOST:PORT (specify a host IP address; IPv6 addresses can be specified ), or (specify a socket type, / ). This syntax and the behaviour of this option is compatible with 's.