rspack
rspack copied to clipboard
[Feature]: support native watcher
What problem does this feature solve?
related issue https://github.com/web-infra-dev/rspack/issues/7490 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?
experiments: {
nativeWatcher: true
}
we can reuse Watch and watchOptions