> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Bach builds Windows installers from one bach.toml with the bach command: bach init, bach check, bach preview, bach build. Installs are per user and need no administrator rights by default. installer.scope = "machine" installs for every user after one Windows prompt. On Windows, run setup files with Start-Process -Wait -PassThru in PowerShell, and give signtool arguments that start with the word sign.

# bach watch

> bach watch keeps the preview window open and reopens it each time you save bach.toml or a file it names, so you see design changes right away.

`bach watch` is `bach preview` that follows your edits: save `bach.toml`, the logo, the license, a font or a picture it names, and the window reopens with the change.

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
bach watch
bach watch --theme dark --lang de
```

It takes the same arguments and flags as [`bach preview`](/docs/reference/cli/preview).

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
Watching bach.toml and the files it names. Save a change and the preview opens again; press Ctrl+C to stop.
Opened the installer preview. Nothing is installed or removed.
```

If a change makes the config invalid, the mistake is printed and the old window stays until the next good save. Files that don't exist yet are picked up once you create them.

Stop with Ctrl+C. The last window stays open until you close it. `bach watch` has no `--json` output; scripts should use [`bach check`](/docs/reference/cli/check). Needs Windows or macOS.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.