Skip to content

Conversation

@Misaka13514
Copy link
Member

No description provided.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐱 感谢贡献!

部署了预览,在这里哦: https://pr-344.data-preview.pages.dev

🕒 最后更新: 2025-11-20 09:58:09 (UTC)

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds build caching and a development mode to improve build performance and developer experience. The changes introduce a caching system that tracks file modifications and reuses previously generated results, along with a watch mode that automatically rebuilds on file changes.

  • Implements a build cache system using MD5 hashes to detect file changes and avoid unnecessary rebuilds
  • Adds a file watcher that monitors source directories and triggers rebuilds on changes
  • Integrates cache logic into blur code generation and MDX page compilation

Reviewed Changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
yarn.lock Adds concurrently package and its dependencies for running multiple commands in parallel
scripts/cache.ts New cache system implementation with file hashing, change detection, and result storage
scripts/watch.ts New watch mode script that monitors file changes and triggers debounced rebuilds
scripts/build.ts Integrates caching into build pipeline for blur codes and MDX pages; adds error handling wrapper
package.json Adds new watch, dev, and clean scripts; adds concurrently dev dependency
.gitignore Excludes the .build-cache directory from version control

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant