fix(cli): skip WebUI bundle check in dev mode
This commit is contained in:
1 parent
63cc5f270d
commit
c08172a641
3 files changed
+8
-6
No files matched your search
@@ -216,11 +216,9 @@ def webui(
|
||||
f"{config_path}, or rerun without --no-open to open the authenticated URL.[/dim]"
|
||||
)
|
||||
|
||||
webui_bundle_mode = _webui_build_mode_for_interactive(yes=yes)
|
||||
_prepare_webui_bundle_for_gateway(
|
||||
runtime_config,
|
||||
mode="skip" if dev else webui_bundle_mode,
|
||||
)
|
||||
if not dev:
|
||||
webui_bundle_mode = _webui_build_mode_for_interactive(yes=yes)
|
||||
_prepare_webui_bundle_for_gateway(runtime_config, mode=webui_bundle_mode)
|
||||
|
||||
instance = GatewayInstance.resolve(
|
||||
config_path=config_path,
|
||||
|
||||
Reference in new issue
Block a user