Skip to content

Commit

Permalink
Merge pull request #3289 from kshepherd/filewatcher_ignores
Browse files Browse the repository at this point in the history
Ignore some paths from file watcher
  • Loading branch information
tdonohue authored Sep 4, 2024
2 parents 88e145c + 8152d39 commit d42d275
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 d42d275

Please sign in to comment.