Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

gateway

Manage the development reverse proxy.

gwt gateway start

Start all configured apps and the proxy server.

gwt gateway start [--port <port>]

Options

OptionDescriptionDefault
--portGateway listen port54846 (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

OptionDescription
appApp name (omit to list available log files)
-n, --linesShow 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