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.
This commit is contained in:
parent
2bb8e01d2d
commit
435789a2e9
1 changed files with 3 additions and 0 deletions
|
|
@ -118,6 +118,9 @@ module.exports = {
|
||||||
resolve: {
|
resolve: {
|
||||||
modules: [ nodedir ],
|
modules: [ nodedir ],
|
||||||
},
|
},
|
||||||
|
watchOptions: {
|
||||||
|
ignored: /node_modules/,
|
||||||
|
},
|
||||||
entry: info.entries,
|
entry: info.entries,
|
||||||
externals: externals,
|
externals: externals,
|
||||||
output: output,
|
output: output,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue