Skip to content

Commit

Permalink
Merge pull request #3298 from DSpace/backport-3289-to-dspace-8_x
Browse files Browse the repository at this point in the history
[Port dspace-8_x] Ignore some paths from file watcher
  • Loading branch information
tdonohue authored Sep 4, 2024
2 parents 8d459e7 + 91b8829 commit 9dec50e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion webpack/webpack.browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
},
});

0 comments on commit 9dec50e

Please sign in to comment.