@@ -86,6 +86,9 @@ |
||
86 | 86 | $this->pageViewsFlattened = &$pageViewsFlattened; |
87 | 87 | } |
88 | 88 | |
89 | + /** |
|
90 | + * @param string $themeName |
|
91 | + */ |
|
89 | 92 | public function setThemeName($themeName) |
90 | 93 | { |
91 | 94 | $this->theme = $themeName; |
@@ -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'); |