Skip to content

Commit 45d61a1

Browse files
chore: disable nx tui in router e2e
1 parent d5a9227 commit 45d61a1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

apps/router-demo/router-host-2000/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
"parallel": true,
5959
"commands": [
6060
{
61-
"command": "lsof -i:2000 || nx run router-host-2000:serve",
61+
"command": "lsof -i:2000 || NX_TUI=false nx run router-host-2000:serve",
6262
"forwardAllArgs": false
6363
},
6464
{
65-
"command": "pnpm exec wait-on http://127.0.0.1:2000 && nx run router-host-2000:e2e --configuration=ci",
65+
"command": "pnpm exec wait-on http://127.0.0.1:2000 && NX_TUI=false nx run router-host-2000:e2e --configuration=ci",
6666
"forwardAllArgs": true
6767
}
6868
]

tools/scripts/run-router-e2e.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/usr/bin/env node
22
import { spawn } from 'node:child_process';
33

4+
// Disable the Nx interactive TUI for all child processes spawned by this script.
5+
process.env.NX_TUI = 'false';
6+
47
const ROUTER_WAIT_TARGETS = [
58
'tcp:2000',
69
'tcp:2001',

0 commit comments

Comments
 (0)