-
-
Notifications
You must be signed in to change notification settings - Fork 574
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
[Feature]: support native watcher #8455
Comments
I don't see any native file wather implementation in rspack, is that already done? If the watcher does not exist, we can implement that with watch-exec |
yes, watch-exec seems a good choice, but since rspack don't rely on watcher to start new process, maybe use notify directly would be much light and bring small crated size increase @ClSlaid are you interested in implementing this feature |
I'd like to have a look, but I can only proceed with that in my spare time. See if I can implement it in 2 or 3 weeks. |
@ClSlaid take your time, it's not a urgent feature right now |
What problem does this feature solve?
we currently use watchpack and it has performance issue especially when killed by ctrl-c, it may even take seconds to shutdown, we can progressively migrate watchpack to native watchers
What does the proposed API of configuration look like?
we can reuse
Watch
andwatchOptions
The text was updated successfully, but these errors were encountered: