fswatch

A cross-platform file change monitor. Run a bash command on…

fswatch

A cross-platform file change monitor.

fswatch -0 {{path/to/file}} | xargs -0 {{bash_command}}

fswatch -0 {{path/to/file}} {{path/to/directory}} {{path/to/another_directory/**/*.js}} | xargs -0 {{bash_command}}

fswatch -0 {{path/to/directory}} | xargs -0 -I {} {{bash_command}}

fswatch -0 --event {{Updated}} {{path/to/directory}} | xargs -0 {{bash_command}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← fselect fswebcam →