Skip to content

Conversation

chenjiahan
Copy link
Member

Summary

Add documentation for enabling Rspack's native watcher feature to improve HMR performance in development mode.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@Copilot Copilot AI review requested due to automatic review settings September 5, 2025 13:41
Copy link

netlify bot commented Sep 5, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit f5a235d
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68bae885ed1a730008169301
😎 Deploy Preview https://deploy-preview-6070--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 83 (🟢 up 16 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@Copilot 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 documentation for Rspack's native watcher feature to the build performance optimization guides. The native watcher can improve Hot Module Replacement (HMR) performance in development mode by providing a more efficient file watching mechanism.

  • Adds a new section about enabling native watcher in both English and Chinese documentation
  • Includes code examples showing how to configure the nativeWatcher experiment
  • Makes a minor consistency improvement to the lazy compilation documentation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
website/docs/zh/guide/optimization/build-performance.mdx Adds Chinese documentation for native watcher configuration
website/docs/en/guide/optimization/build-performance.mdx Adds English documentation for native watcher and fixes minor wording inconsistency

@chenjiahan chenjiahan merged commit 759cb90 into main Sep 6, 2025
12 checks passed
@chenjiahan chenjiahan deleted the build_perf_0905 branch September 6, 2025 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant