amad/watcher

This package is abandoned and no longer maintained. No replacement package was suggested.

Run arbitrary command on file change. watch-and-runner

1.0.1 2016-11-16 10:18 UTC

This package is not auto-updated.

Last update: 2021-03-05 23:50:05 UTC


README

GitHub license Latest Stable Version Minimum PHP Version Build Status StyleCI SensioLabsInsight

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

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

Installation

$ composer global require amad/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/