fix(cli): ignore generated caches in project watcher

This commit is contained in:
Miguel Ángel
2026-08-02 17:13:19 +00:00
parent 89e970fbd7
commit 7ea8250f50
2 changed files with 4 additions and 0 deletions
@@ -23,6 +23,8 @@ describe("shouldWatchProjectFile", () => {
expect(shouldWatchProjectFile("renders/output.mp4")).toBe(false); expect(shouldWatchProjectFile("renders/output.mp4")).toBe(false);
expect(shouldWatchProjectFile("dist/index.html")).toBe(false); expect(shouldWatchProjectFile("dist/index.html")).toBe(false);
expect(shouldWatchProjectFile(".hyperframes/cache.json")).toBe(false); expect(shouldWatchProjectFile(".hyperframes/cache.json")).toBe(false);
expect(shouldWatchProjectFile(".transcode-cache/proxy.mp4")).toBe(false);
expect(shouldWatchProjectFile(".thumbnails/frame.jpg")).toBe(false);
}); });
}); });
+2
View File
@@ -13,6 +13,8 @@ const WATCHER_EXCLUDED_DIRS = new Set([
".git", ".git",
".hyperframes", ".hyperframes",
".next", ".next",
".thumbnails",
".transcode-cache",
".vite", ".vite",
"build", "build",
"coverage", "coverage",