Преглед на файлове

restart is necessary to apply ui.run params

Rodja Trappe преди 1 година
родител
ревизия
e0f9ed6f2f
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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`)