mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 06:30:03 +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("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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user