Watchman: Execute a command when something changes
Not to be confused with Facebook’s file watch daemon, also names watchman, which does the same sort of thing but is more complicated. There’s a bunch of tools that integrate Facebook’s watchman for more efficient change tracking.Advantages of Facebook’s watchman:1. Implements efficient file system event watches on macOS and Windows2. IPC/daemon system reduces resource use because overlapping watches/triggers don’t use more inotify slots.3. Denounces / waits for changes to settle4. Client libraries in a few different languages for scripting purposeshttps://facebook.github.io/watchman/