Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support watch rslib.config to rebuild #489

Merged
merged 9 commits into from
Nov 28, 2024
Merged

feat: support watch rslib.config to rebuild #489

merged 9 commits into from
Nov 28, 2024

Conversation

9aoy
Copy link
Contributor

@9aoy 9aoy commented Nov 28, 2024

Summary

image image

Related Links

closes: #138

Checklist

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

Copy link

netlify bot commented Nov 28, 2024

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit 7dbe917
🔍 Latest deploy log https://app.netlify.com/sites/rslib/deploys/67483aed9064100008fdf120
😎 Deploy Preview https://deploy-preview-489--rslib.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

codspeed-hq bot commented Nov 28, 2024

CodSpeed Performance Report

Merging #489 will degrade performances by 38.82%

Comparing restart (9e66c9c) with main (f97ff83)

Summary

❌ 1 regressions
✅ 4 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main restart Change
examples/module-federation/mf-react-component 360.9 ms 589.9 ms -38.82%

packages/core/src/cli/build.ts Outdated Show resolved Hide resolved
packages/core/src/cli/build.ts Outdated Show resolved Hide resolved
@Timeless0911 Timeless0911 merged commit b86f754 into main Nov 28, 2024
17 of 18 checks passed
@Timeless0911 Timeless0911 deleted the restart branch November 28, 2024 11:31
@@ -0,0 +1,76 @@
import path from 'node:path';
import chokidar from 'chokidar';
Copy link
Member

Choose a reason for hiding this comment

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

lazy import

ignoreInitial: true,
// If watching fails due to read permissions, the errors will be suppressed silently.
ignorePermissionErrors: true,
ignored: ['**/node_modules/**', '**/.git/**', '**/.DS_Store/**'],
Copy link
Member

Choose a reason for hiding this comment

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

chokidar v4 does not support glob, this will not work

@9aoy 9aoy mentioned this pull request Nov 29, 2024
2 tasks
@Timeless0911 Timeless0911 mentioned this pull request Dec 24, 2024
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.

[Feature]: Support watch rslib.config to rebuild
3 participants