Sfoglia il codice sorgente

restart is necessary to apply ui.run params

Rodja Trappe 1 anno fa
parent
commit
e0f9ed6f2f
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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`)