Skip to content

Commit

Permalink
Merge pull request #5 from hungvietdo/Change_binding_address
Browse files Browse the repository at this point in the history
Change binding address to support running bref server inside a docker container
  • Loading branch information
mnapoli authored Feb 28, 2022
2 parents 0d67362 + 58763da commit d509261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DevServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function run(): void
$handler = __DIR__ . '/server-handler.php';
$assetsDirectory = getcwd();

$server = new Process(['php', '-S', '127.0.0.1:8000', $handler, '-t', $assetsDirectory]);
$server = new Process(['php', '-S', '0.0.0.0:8000', $handler, '-t', $assetsDirectory]);
$server->setTimeout(null);
$server->setTty(true);
$server->setEnv([
Expand Down

0 comments on commit d509261

Please sign in to comment.