Open hardfist opened 4 days ago
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
experiments: { nativeWatcher: true }
we can reuse Watch and watchOptions
Watch
watchOptions
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
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