mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-07 10:06:21 +00:00
fix(cli): ignore generated caches in project watcher
This commit is contained in:
@@ -23,6 +23,8 @@ describe("shouldWatchProjectFile", () => {
|
||||
expect(shouldWatchProjectFile("renders/output.mp4")).toBe(false);
|
||||
expect(shouldWatchProjectFile("dist/index.html")).toBe(false);
|
||||
expect(shouldWatchProjectFile(".hyperframes/cache.json")).toBe(false);
|
||||
expect(shouldWatchProjectFile(".transcode-cache/proxy.mp4")).toBe(false);
|
||||
expect(shouldWatchProjectFile(".thumbnails/frame.jpg")).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ const WATCHER_EXCLUDED_DIRS = new Set([
|
||||
".git",
|
||||
".hyperframes",
|
||||
".next",
|
||||
".thumbnails",
|
||||
".transcode-cache",
|
||||
".vite",
|
||||
"build",
|
||||
"coverage",
|
||||
|
||||
Reference in New Issue
Block a user