Skip to content

Commit 9dec50e

Browse files
authored
Merge pull request DSpace#3298 from DSpace/backport-3289-to-dspace-8_x
[Port dspace-8_x] Ignore some paths from file watcher
2 parents 8d459e7 + 91b8829 commit 9dec50e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

webpack/webpack.browser.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,12 @@ module.exports = Object.assign({}, commonExports, {
3535
buildAppConfig(join(process.cwd(), 'src/assets/config.json'));
3636
return middlewares;
3737
}
38-
}
38+
},
39+
watchOptions: {
40+
// Ignore directories that should not be watched for recompiling angular
41+
ignored: [
42+
'**/node_modules', '**/_build', '**/.git', '**/docker',
43+
'**/.angular', '**/.idea', '**/.vscode', '**/.history', '**/.vsix'
44+
]
45+
},
3946
});

0 commit comments

Comments
 (0)