SDODS
ReferenceCLI commands

sdods watch

Regenerate BDD specs on change and re-run them in interactive UI mode.

sdods watch [-p <slug>] [-e <env>] [-t <expr>] [-l <layer>]... [-b <browser>]... [--no-ui] [--headed]

Two children run with the same SDODS_* environment that sdods run uses:

  1. bddgen --watch regenerates .features-gen/<slug>/<layer> whenever a feature or step file changes.
  2. the suite in interactive UI mode (or watch mode with --no-ui), restricted to the generated targets of the selection.
FlagMeaning
-p, -e, -t, -l, -bsame selection flags as sdods run
--no-uiterminal watch mode instead of the UI window
--headedheaded browsers in terminal watch mode
sdods watch -p demo-shop -e staging -l ui -b chromium -t @smoke

Stop with Ctrl+C; both children are terminated together. Exit code 2 when the selection matches no run target.

Using an AI coding agent? Install SDODS:

Install the SDODS plugin in Claude Code: skills, subagents, commands and the MCP server.

  1. /plugin marketplace add YarlisAISolutions/sdods-skills
  2. /plugin install sdods@sdods
Learn more about using SDODS with AI tools