aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/serve3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/serve b/bin/serve
index 4a06c50..e2a1009 100755
--- a/bin/serve
+++ b/bin/serve
@@ -74,5 +74,6 @@ while getopts 'd:p:h' flag; do
esac
done
-open "http://localhost:$PORT"
+open "http://localhost:$PORT" &
python3 -m http.server -d "$DIRECTORY" "$PORT"
+wait