diff --git a/hermes_cli/main.py b/hermes_cli/main.py index a178daf581e..3016dc887e8 100644 --- a/hermes_cli/main.py +++ b/hermes_cli/main.py @@ -1152,7 +1152,7 @@ def _make_tui_argv(tui_dir: Path, tui_dev: bool) -> tuple[list[str], Path]: bundled = _find_bundled_tui() if bundled is not None: node = _node_bin("node") - return [node, str(bundled)], bundled.parent + return [node, "--expose-gc", str(bundled)], bundled.parent # 2. Normal flow: npm install if needed, always esbuild, then node dist/entry.js. # --dev flow: npm install if needed, then tsx src/entry.tsx.