@@ -71,7 +71,7 @@ |
||
71 | 71 | { |
72 | 72 | $this->port = $port; |
73 | 73 | |
74 | - $this->reactHttpServer->on('request', function (Request $request, Response $response) { |
|
74 | + $this->reactHttpServer->on('request', function(Request $request, Response $response) { |
|
75 | 75 | $path = $this->outputDirectory.'/'.ltrim(rawurldecode($request->getPath()), '/'); |
76 | 76 | if (is_dir($path)) { |
77 | 77 | $path .= '/index.html'; |
@@ -109,7 +109,7 @@ |
||
109 | 109 | |
110 | 110 | $this->httpServer->init(); |
111 | 111 | if ($watch) { |
112 | - $this->httpServer->addPeriodicTimer(1, function () use ($sourceSet) { |
|
112 | + $this->httpServer->addPeriodicTimer(1, function() use ($sourceSet) { |
|
113 | 113 | clearstatcache(); |
114 | 114 | $sourceSet->reset(); |
115 | 115 |