summaryrefslogtreecommitdiff
path: root/serve.sh
diff options
context:
space:
mode:
Diffstat (limited to 'serve.sh')
-rwxr-xr-xserve.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/serve.sh b/serve.sh
index e7f2b4c..007e036 100755
--- a/serve.sh
+++ b/serve.sh
@@ -1,2 +1,4 @@
#!/bin/sh
-php -S localhost:8000
+php -S localhost:8000 &
+[ -n "$1" ] && firefox "localhost:8000/$1" &
+wait