mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
Ignore some paths from file watcher
Watching all these directories can cause systems to exceed
maximum watched files / inotify limits, especially in dev
mode with IDEs etc also watching files.
(cherry picked from commit 8152d39ad0
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
8d459e7c9f
commit
91b8829ee4
@@ -35,5 +35,12 @@ module.exports = Object.assign({}, commonExports, {
|
||||
buildAppConfig(join(process.cwd(), 'src/assets/config.json'));
|
||||
return middlewares;
|
||||
}
|
||||
}
|
||||
},
|
||||
watchOptions: {
|
||||
// Ignore directories that should not be watched for recompiling angular
|
||||
ignored: [
|
||||
'**/node_modules', '**/_build', '**/.git', '**/docker',
|
||||
'**/.angular', '**/.idea', '**/.vscode', '**/.history', '**/.vsix'
|
||||
]
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user