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
Requires
- php: >=5.5.9
- symfony/console: 2.8.*|3.*
- symfony/finder: 2.8.*|3.*
- symfony/process: 2.8.*|3.*
Requires (Dev)
- phpunit/phpunit: 4.*
This package is not auto-updated.
Last update: 2021-03-05 23:50:05 UTC
README
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/