ReferenceCLI commands
automax watch
Regenerate BDD specs on change and re-run them in Playwright UI mode.
automax watch [-p <slug>] [-e <env>] [-t <expr>] [-l <layer>]... [-b <browser>]... [--no-ui] [--headed]Two children run with the same AUTOMAX_* environment that automax run uses:
bddgen --watchregenerates.features-gen/<slug>/<layer>whenever a feature or step file changes.playwright test --ui(or--watchwith--no-ui) restricted to the generated projects of the selection.
| Flag | Meaning |
|---|---|
-p, -e, -t, -l, -b | same selection flags as automax run |
--no-ui | terminal watch mode instead of the UI window |
--headed | headed browsers in terminal watch mode |
automax watch -p demo-shop -e staging -l ui -b chromium -t @smokeStop with Ctrl+C; both children are terminated together. Exit code 2 when the selection matches no Playwright project.