mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge pull request #3297 from DSpace/backport-3289-to-dspace-7_x
[Port dspace-7_x] Ignore some paths from file watcher
This commit is contained in:
@@ -35,5 +35,12 @@ module.exports = Object.assign({}, commonExports, {
|
|||||||
buildAppConfig(join(process.cwd(), 'src/assets/config.json'));
|
buildAppConfig(join(process.cwd(), 'src/assets/config.json'));
|
||||||
return middlewares;
|
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