@@ -218,8 +218,12 @@ |
||
| 218 | 218 | $exclusions, FileExplorer::$vcsPatterns, array(Configuration::CACHE_FOLDER) |
| 219 | 219 | )) |
| 220 | 220 | ->setIterator($fileExplorer->getExplorer()) |
| 221 | - ->addListener(Create::NAME, function ($e) { $this->watchListenerFunction($e); }) |
|
| 222 | - ->addListener(Modify::NAME, function ($e) { $this->watchListenerFunction($e); }) |
|
| 221 | + ->addListener(Create::NAME, function ($e) |
|
| 222 | + { |
|
| 223 | +$this->watchListenerFunction($e); }) |
|
| 224 | + ->addListener(Modify::NAME, function ($e) |
|
| 225 | + { |
|
| 226 | +$this->watchListenerFunction($e); }) |
|
| 223 | 227 | ; |
| 224 | 228 | |
| 225 | 229 | $this->output->writeln('Watch started successfully'); |