/watch-execute

This is a simple bash module that watches a file for changes, and runs a command when the file changes.

Primary LanguageShellMIT LicenseMIT

watch-execute

This is a simple bash module that watches a file for changes, and runs a command when the file changes.

Usage

$ watch-execute <file to watch> <bash command to execute on change>