Skip to content

Bug: build --watch is advertised but exits successfully without building or watching (v1.0.1) #2192

Closed

Description

@dat-intellis

Environment

Homebrew standalone Squad CLI/SDK 1.0.1, macOS arm64, bundled Node.js v22.20.0.

Reproduction

Run in a project with an existing .squad/ directory:

squad build --help
squad build --watch
echo $?

Help advertises rebuilding when squad.config.ts changes. Execution instead prints:

Watch mode coming soon — rebuilding on file changes is not yet implemented.
For now, run squad build manually after changes.

The command immediately exits 0, without building or starting a watcher. Verified that fixture files remained unchanged.

Expected / suggested fix

Implement the advertised watcher, including an initial build, or reject --watch with a nonzero exit status and accurate help until supported. Add a regression test covering rebuilds after a config change.

Source

build.ts at v1.0.1: runBuild handles options.watch by logging the placeholder and returning before loading the config.

Activity

  1. added a commit that references this issue on Oct 14, 2026
    f677a01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions