mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
add the watch ignored setting (#636)
This commit is contained in:
parent
6d6ef1ca9f
commit
0a3313d1b9
|
@ -135,6 +135,12 @@ export default class HotReloader {
|
||||||
noInfo: true,
|
noInfo: true,
|
||||||
quiet: true,
|
quiet: true,
|
||||||
clientLogLevel: 'warning',
|
clientLogLevel: 'warning',
|
||||||
|
watchOptions: {
|
||||||
|
ignored: [
|
||||||
|
/(^|[/\\])\../, // .dotfiles
|
||||||
|
/node_modules/
|
||||||
|
]
|
||||||
|
},
|
||||||
...windowsSettings
|
...windowsSettings
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue