watchman-wait(1) | watchman-wait | watchman-wait(1) |
watchman-wait - waits for changes to files.
watchman [-h] [--relative RELATIVE] [--fields FIELDS]
[-s SEPARATOR] [-m MAX_EVENTS] [-p PATTERN [PATTERN ...]]
[-t TIMEOUT]
path [path ...]
watchman-wait uses the watchman service to efficiently and recursively watch your specified list of paths.
It is suitable for waiting for changes to files from shell scripts.
It can stop after a configurable number of events are observed. The default is a single event. You may also remove the limit and allow it to execute continuously.
watchman-wait will print one event per line. The event information includes your specified list of fields, with each field separated by a space (or your choice of --separator).
Events are consolidated and settled by the watchman server before they are dispatched to watchman-wait.
OPTIONAL ARGUMENTS
-h, --help
--relative RELATIVE
--fields FIELDS
-s SEPARATOR, --separator SEPARATOR
-m MAX_EVENTS, --max-events MAX_EVENTS
-p PATTERN [PATTERN ...], --pattern PATTERN [PATTERN ...]
-t TIMEOUT, --timeout TIMEOUT
POSITIONAL ARGUMENTS
path
EXIT STATUS
0
1
2
3
For more information, please refer the online documentation
8 Oct 2019 | Linux |