mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 15:16:28 +08:00
Merge pull request #455 from toeverything/fix/file-watchers-limit
fix: ignore node_modules watcher
This commit is contained in:
@@ -203,10 +203,10 @@ module.exports = function (webpackConfig) {
|
||||
new BundleAnalyzerPlugin({ analyzerMode: 'static' }),
|
||||
].filter(Boolean);
|
||||
|
||||
// Workaround for webpack infinite recompile errors
|
||||
config.watchOptions = {
|
||||
// followSymlinks: false,
|
||||
ignored: ['**/*.css'],
|
||||
// Ignore css to workaround webpack infinite recompile errors
|
||||
ignored: ['**/node_modules', '**/*.css'],
|
||||
};
|
||||
|
||||
return config;
|
||||
|
||||
Reference in New Issue
Block a user