Watcher

Run arbitrary command on file(s) change.

View the Project on GitHub Stunt/watcher

Watcher

Watcher is simple tools to run your arbitrary command on file changes.

$ watcher <command> <file> (<file>)...

GitHub license Latest Stable Version Minimum PHP Version Build Status SensioLabsInsight

Installation

$ composer global require stunt/watcher

Example Usage

$ watcher phpunit ./
$ watcher 'clear && phpunit -c phpunit.xml' src/ tests/
$ watcher 'docker run unitests' src/ tests/
$ watcher 'docker exec project-container behat' src/ tests/features/