Skip to content

mattheusv/fwatch

Repository files navigation

fwatch

tests GitHub release (latest by date) GitHub

Utility to execute command when file changes

Usage

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

License

MIT