From 360b8d5d92fde2dab83589f336e500580e2d68d1 Mon Sep 17 00:00:00 2001 From: Martin Donath Date: Mon, 10 Nov 2025 15:33:37 +0100 Subject: [PATCH] zensical:docs - add comment for function opening browser Signed-off-by: Martin Donath --- python/zensical/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python/zensical/main.py b/python/zensical/main.py index 54effce..54c8d29 100644 --- a/python/zensical/main.py +++ b/python/zensical/main.py @@ -38,6 +38,10 @@ from zensical import build, serve, version # ---------------------------------------------------------------------------- # Commands # ---------------------------------------------------------------------------- + + +# Wait for the server to be available before opening the browser - we'll remove +# this hack once the server can signal that it's ready for serving. def open_browser(url): def _open_browser(url): while True: