RoboFile.php
public function watch()
	{
		$this->taskWatch()
			->monitor('composer.json', function() {
				$this->taskComposerUpdate()->run();
			})
			->monitor('src', function () {
				$this->taskExec('test')->run();
			})
			->monitor('tests', function () {
				$this->taskExec('test')->run();
			})
			->run();
	}
public function watch()
	{
		$this->taskWatch()
			->monitor('composer.json', function() {
				$this->taskComposerUpdate()->run();
			})
			->monitor('src', function () {
				$this->taskExec('test')->run();
			})
			->monitor('tests', function () {
				$this->taskExec('test')->run();
			})
			->run();
	}
public function watch ( ) { $ this -> taskWatch ( ) -> monitor ( 'composer.json' , function ( ) { $ this -> taskComposerUpdate ( ) -> run ( ) ; } ) -> monitor ( 'src' , function ( ) { $ this -> taskExec ( 'test' ) -> run ( ) ; } ) -> monitor ( 'tests' , function ( ) { $ this -> taskExec ( 'test' ) -> run ( ) ; } ) -> run ( ) ; }
Watches for file updates, and automatically runs appropriate actions
Watches for file updates and automatically runs appropriate actions