From b8ece25299c900f2e23c71b0bcc74d00698d20bc Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 2 Dec 2022 20:50:38 -0300 Subject: bin/serve: Do not wait for the browser before start listening --- bin/serve | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/serve') 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 -- cgit v1.2.3