gateway
Manage the development reverse proxy.
gwt gateway start
Start all configured apps and the proxy server.
gwt gateway start [--port <port>]
Options
| Option | Description | Default |
|---|---|---|
--port | Gateway listen port | 54846 (or gateway.port from config) |
Output
gwt gateway running on http://localhost:54846
http://frontend.localhost:54846 -> :3001
http://diff.localhost:54846 -> :3002
PID: 12345
Press Ctrl+C to stop.
If Diffity is available (npx + diffity resolvable), it’s automatically registered as the diff app.
gwt gateway stop
Graceful shutdown — sends SIGTERM to the gateway process.
gwt gateway stop
gwt gateway kill
Force kill — sends SIGKILL to the gateway process.
gwt gateway kill
gwt gateway status
Show whether the gateway is running and which apps are registered.
gwt gateway status
gwt gateway logs
View application logs.
gwt gateway logs [app] [-n <lines>]
Options
| Option | Description |
|---|---|
app | App name (omit to list available log files) |
-n, --lines | Show last N lines |
Examples
gwt gateway logs # List available log files
gwt gateway logs frontend # Show frontend stdout/stderr
gwt gateway logs frontend -n 50 # Last 50 lines