A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.
➜ brew --version
Homebrew 2.6.0-16-g77b4275
Homebrew/homebrew-core (git revision c7852; last commit 2020-12-01)
Homebrew/homebrew-cask (git revision f620d7; last commit 2020-12-02)
➜ echo $0
/bin/zsh
➜ uname -a
Darwin sequoiamcdowell 18.7.0 Darwin Kernel Version 18.7.0: Mon Aug 31 20:53:32 PDT 2020; root:xnu-4903.278.44~1/RELEASE_X86_64 x86_64
➜ brew install fswatch
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: 'origin/master' is not a commit and a branch 'master' cannot be created from it
fatal: invalid upstream 'origin/master'
Warning: fswatch 1.15.0 is already installed and up-to-date
To reinstall 1.15.0, run `brew reinstall fswatch`
➜ fswatch --version
fswatch 1.15.0
Copyright (C) 2013-2018 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Enrico M. Crisostomo.
➜ which fswatch-run
fswatch-run not found
Expected
fswatch-run installed, per manpage