1 2 3 4 5 6 7
#!/bin/sh if [ $# -ne 1 ]; then echo 'usage: bin/devserver <port>' exit 1 fi cd "$(dirname "$0")"/.. || exit 1 PHP_CLI_SERVER_WORKERS=5 php -S 0.0.0.0:"$1" index.php