Watch command.

This commit is contained in:
marco
2015-07-20 18:02:40 +02:00
parent 2258b215df
commit eb50d2e536
2 changed files with 13 additions and 32 deletions

View File

@ -19,10 +19,14 @@ class RoboFile extends \Robo\Tasks {
function testAll() {
$this
->taskExec('phantomjs --webdriver=4444')
->taskexec('phantomjs --webdriver=4444')
->background()
->run();
sleep(2);
$this->_exec('vendor/bin/codecept run');
}
function watch() {
$this->_exec('./node_modules/stylus/bin/stylus -u nib -w assets/css/src/admin.styl -o assets/css/');
}
}