Skip to content

Commit d42d275

Browse files
authored
Merge pull request DSpace#3289 from kshepherd/filewatcher_ignores
Ignore some paths from file watcher
2 parents 88e145c + 8152d39 commit d42d275

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)