rspack icon indicating copy to clipboard operation
rspack copied to clipboard

[Feature]: support native watcher

Open hardfist opened this issue 11 months ago • 7 comments

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

hardfist avatar Nov 18 '24 02:11 hardfist