Utility to execute command when file changes
Watch current directory and execute ls when some file change:
$ fwatch ls
Watch custom directory:
$ fwatch -dir /path/to/directory ls
Ignore pattern files:
fwatch -ignore "*_test.go,*.test.js" ls
Execute command to only specific pattern:
$ fwatch -pattern "*.go,**.js*" ls
Verbose mode:
$ fwatch -V ls
Help:
fwatch -h