/fwatch

Execute command when file changes

Primary LanguageGoMIT LicenseMIT

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