You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/crates-with-watch-foundation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@
47
47
- Plain `ls`/`dir`/`vdir` directory operands must watch only the named directory plus immediate children, `-R` must switch them to recursive metadata tree snapshots, and `-d`/`--directory` must watch only the named path entry.
48
48
- Built-in inference must exclude known outputs, scripts, inline patterns, and opaque fallback operands from the watch set.
49
49
- First-class search adapters must cover `grep`, `rg`, `ag`, and `fd`; inline search patterns, globs, and type filters must be treated as control data while explicit search roots and file-valued pattern/ignore inputs stay watchable.
50
-
- First-class schema/codegen adapters must cover `protoc`, `flatc`, `thrift`, and `capnp compile`; explicit schema inputs, include/import roots, descriptor/arg files, and conform-reference inputs stay watchable while generated output paths remain filtered. When `protoc` runs without `--proto_path`, the current working directory stays watchable as the implicit import root.
50
+
- First-class schema/codegen adapters must cover `protoc`, `flatc`, `thrift`, and `capnp compile`; explicit schema inputs, include/import roots, descriptor inputs, and conform-reference inputs stay watchable while generated output paths remain filtered. `protoc` response files (`@argfile`) are too opaque for v1 inference and must degrade to `exec --input` guidance rather than remaining partially watchable. When `protoc` runs without `--proto_path`, the current working directory stays watchable as the implicit import root.
51
51
- Wrapper commands (`env`, `nice`, `nohup`, `stdbuf`, and `timeout`) must unwrap to the delegated command before adapter selection.
52
52
-`exec --input` remains the canonical explicit input contract when inference is insufficient, but command-side side-effect metadata may still be inferred for rerun suppression and logging.
53
53
- Commands marked as `WritesWatchedInputs` must refresh the baseline snapshot after each run and suppress reruns caused only by their own writes while they were executing.
Copy file name to clipboardExpand all lines: docs/project-with-watch.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Provide a Rust-based CLI wrapper that reruns delegated shell utilities and arbit
27
27
- Commands without safe inferred filesystem inputs must fail clearly and direct operators to `with-watch exec --input ...`.
28
28
- Passthrough and shell modes must use adapter-driven input inference that excludes known outputs, scripts, and pattern operands from the watch set.
29
29
- First-class search adapters must include `grep`, `rg`, `ag`, and `fd`; search patterns, globs, and type filters must stay out of the watch set while explicit search roots and file-valued pattern/ignore inputs remain watchable.
30
-
- First-class schema/codegen adapters must include `protoc`, `flatc`, `thrift`, and `capnp compile`; explicit source files, include/import roots, descriptor/arg files, and conform-reference inputs must remain watchable while generated output paths stay filtered out of the watch set. When `protoc` omits `--proto_path`, the current working directory must be treated as an implicit import root and remain watchable.
30
+
- First-class schema/codegen adapters must include `protoc`, `flatc`, `thrift`, and `capnp compile`; explicit source files, include/import roots, descriptor inputs, and conform-reference inputs must remain watchable while generated output paths stay filtered out of the watch set. `protoc` response files (`@argfile`) are too opaque for v1 inference and must fall back to `exec --input` guidance instead of being partially watched. When `protoc` omits `--proto_path`, the current working directory must be treated as an implicit import root and remain watchable.
31
31
-`ls`, `dir`, and `vdir` must use metadata listing snapshots instead of recursive file-content hashing: the default watch scope is immediate children, `-R` stays recursive, and `-d` watches only the named path.
32
32
- Shell redirects must treat `<` and `<>` targets as watched inputs and `>`, `>>`, `&>`, `&>>`, and `>|` targets as filtered outputs.
33
33
- Shell parsing support is limited to command-line expressions plus `&&`, `||`, and `|`; broader shell control-flow stays out of scope until documented otherwise.
0 commit comments