Exclude node_modules from webpack watching
This recently started to overflow inotify, and we don't need that -- it's fine to restart webpack when changing package.json, and it happens rarely enough. Closes #345
This commit is contained in:
parent
2bb8e01d2d
commit
49a721354c
1 changed files with 3 additions and 0 deletions
|
|
@ -118,6 +118,9 @@ module.exports = {
|
|||
resolve: {
|
||||
modules: [ nodedir ],
|
||||
},
|
||||
watchOptions: {
|
||||
ignored: /node_modules/,
|
||||
},
|
||||
entry: info.entries,
|
||||
externals: externals,
|
||||
output: output,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue