@@ -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 |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Sculpin\Core\DataProvider\DataProviderManager; |
15 | 15 | use Sculpin\Core\Generator\GeneratorInterface; |
16 | -use Sculpin\Core\Permalink\SourcePermalinkFactory; |
|
17 | 16 | use Sculpin\Core\Permalink\SourcePermalinkFactoryInterface; |
18 | 17 | use Sculpin\Core\Source\SourceInterface; |
19 | 18 |