amad / watcher
Run arbitrary command on file change. watch-and-runner
Installs: 92
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 1
Type:project
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/