From 6a8582e6889703506f04b5d64097ea2eb722d669 Mon Sep 17 00:00:00 2001 From: Aleksei Khudiakov Date: Tue, 14 Mar 2017 20:12:19 +1000 Subject: [PATCH] Update built-in server instruction Invoking serve via composer run allows to set timeout 0 (disabled) via parameter unlike shorthand form --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ec2147219..16e6e756e8 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Once installed, you can test it out immediately using PHP's built-in web server: $ cd path/to/install $ php -S 0.0.0.0:8080 -t public/ public/index.php # OR use the composer alias: -$ composer serve +$ composer run --timeout 0 serve ``` This will start the cli-server on port 8080, and bind it to all network