zensical:docs - add comment for function opening browser

Signed-off-by: Martin Donath <martin.donath@squidfunk.com>
This commit is contained in:
Martin Donath
2025-11-10 15:33:37 +01:00
committed by GitHub
parent ed40182796
commit 360b8d5d92
+4
View File
@@ -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: