Explorar el Código

restart is necessary to apply ui.run params

Rodja Trappe hace 1 año
padre
commit
e0f9ed6f2f
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      nicegui/ui_run.py

+ 2 - 1
nicegui/ui_run.py

@@ -49,7 +49,8 @@ def run(*,
         ) -> None:
     """ui.run
 
-    You can call `ui.run()` with optional arguments:
+    You can call `ui.run()` with optional arguments.
+    Most of them only apply after stopping and fully restarting the app and do not apply with auto-reloading.
 
     :param host: start server with this host (defaults to `'127.0.0.1` in native mode, otherwise `'0.0.0.0'`)
     :param port: use this port (default: `8080`)