hardfist

Results 323 comments of hardfist

@nilptr you need review advice, please ping us

because you use babel-loader and you use thread-loader with babel-loader in webpack

since it's actually a watchpack issue(which doesn't support custom fs) we can only fix it in native-watcher(which should support inputfs)

close since it's more like a module-federation issue and it's fixed in module-federation side

> while it is not necessary and the watcher instance can be reused (watchpack supports watch to be called again so that it can only create watchers that don't exists)....

@vkurchatkin-miro it seems create watcher itself shouldn't cost too much but new watcher need to rewatch the old files that will cost time, can you help check whether the 1-2s...

> But I doubt the straightforward solution https://github.com/web-infra-dev/rspack/issues/7490#issuecomment-2273955633 will work in cases when you add new import and add new modules to the build graph. actually it works for add...

> @vkurchatkin-miro indeed, but it's a bit late, as it already runs all files through `filter()` right before. yes, and a more incremental friendly api would be `incremental_watch(added_filed,removed_files)` which let...