Simple fswatcher.
Executes command when file or directories are modified.
fswatcher [options] [path...]
Options:
--exec, -x command to execute
--include, -i filter to include. e.g. .(go|rb|java)
--exclude, -e exclude paths matching REGEX.
--log, -l set log level
--help, -h show help
--version, -v print the version
Example:
fswatcher --exec 'git diff' --include .go$ ./
You can use short option.
fswatcher -x 'git diff' -i .go$ ./
0.0.1
MIT
Shun Sugai