We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0119149 commit 43149bdCopy full SHA for 43149bd
server/hot-reloader.js
@@ -122,9 +122,14 @@ export default class HotReloader {
122
this.prevChunkHashes = chunkHashes
123
})
124
125
+ const ignored = [
126
+ /(^|[/\\])\../, // .dotfiles
127
+ /node_modules/
128
+ ]
129
const windowsSettings = isWindowsBash() ? {
130
lazy: false,
131
watchOptions: {
132
+ ignored,
133
aggregateTimeout: 300,
134
poll: true
135
}
@@ -135,12 +140,7 @@ export default class HotReloader {
140
noInfo: true,
136
141
quiet: true,
137
142
clientLogLevel: 'warning',
138
- watchOptions: {
139
- ignored: [
- /(^|[/\\])\../, // .dotfiles
- /node_modules/
- ]
143
- },
+ watchOptions: { ignored },
144
...windowsSettings
145
146
0 commit comments