Skip to content

Commit

Permalink
Don't error if webserver is already running
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaranmcnulty committed Dec 23, 2014
1 parent d12a3dc commit b1564c4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Webserver/BuiltInWebserverController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ public function __construct(Configuration $config)

public function startServer()
{
if ($this->portIsAcceptingConnections()) {
throw new RuntimeException('Another webserver is already running on port '.$this->config->getPort());
}

$this->startServerProcess();
$this->waitForServerToSTart();
}
Expand Down

0 comments on commit b1564c4

Please sign in to comment.