@vzn/vx 0.0.560 → 0.0.561

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/src/cli/watch.ts +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vzn/vx",
3
- "version": "0.0.560",
3
+ "version": "0.0.561",
4
4
  "description": "The fastest task runner and build cache for JavaScript monorepos.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -21,10 +21,10 @@
21
21
  "node": ">=18"
22
22
  },
23
23
  "optionalDependencies": {
24
- "@vzn/vx-linux-x64": "0.0.560",
25
- "@vzn/vx-linux-arm64": "0.0.560",
26
- "@vzn/vx-darwin-x64": "0.0.560",
27
- "@vzn/vx-darwin-arm64": "0.0.560"
24
+ "@vzn/vx-linux-x64": "0.0.561",
25
+ "@vzn/vx-linux-arm64": "0.0.561",
26
+ "@vzn/vx-darwin-x64": "0.0.561",
27
+ "@vzn/vx-darwin-arm64": "0.0.561"
28
28
  },
29
29
  "dependencies": {
30
30
  "@anthropic-ai/sandbox-runtime": "^0.0.76"
package/src/cli/watch.ts CHANGED
@@ -198,6 +198,11 @@ export async function watchCmd(args: readonly string[]): Promise<number> {
198
198
  return 0
199
199
  }
200
200
  if (refusedToStart) return 1
201
+ // `--affected`'s diff is the tree at start; judged again, it held every
202
+ // later edit out of the scope it picked. A cycle is an edit, and the
203
+ // cache keys decide what in the scope it re-runs.
204
+ delete opts.affected
205
+ delete opts.selectedOutright
201
206
 
202
207
  const load: CliLoadOptions = {
203
208
  ...(opts.cacheDir !== undefined ? { cacheDir: opts.cacheDir } : {}),