@@ -230,8 +230,12 @@ |
||
230 | 230 | $newWatcher |
231 | 231 | ->setExcludePatterns($exclusions) |
232 | 232 | ->setIterator($fileExplorer->getExplorer()) |
233 | - ->addListener(Create::NAME, function ($e) { $this->watchListenerFunction($e); }) |
|
234 | - ->addListener(Modify::NAME, function ($e) { $this->watchListenerFunction($e); }) |
|
233 | + ->addListener(Create::NAME, function ($e) |
|
234 | + { |
|
235 | +$this->watchListenerFunction($e); }) |
|
236 | + ->addListener(Modify::NAME, function ($e) |
|
237 | + { |
|
238 | +$this->watchListenerFunction($e); }) |
|
235 | 239 | ; |
236 | 240 | |
237 | 241 | $this->output->writeln('Watch started successfully'); |