Merge pull request #3289 from kshepherd/filewatcher_ignores

Ignore some paths from file watcher
This commit is contained in:
Tim Donohue
2024-09-04 10:46:44 -05:00
committed by GitHub

View File

@@ -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'
]
},
});