mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Ignore .next from hot reload watcher (#1307)
* Move on-demand-entries-ping to _next namespace * Ignore .next from watching
This commit is contained in:
parent
ee56636660
commit
4620cd8cd6
|
@ -128,7 +128,8 @@ export default class HotReloader {
|
||||||
|
|
||||||
const ignored = [
|
const ignored = [
|
||||||
/(^|[/\\])\../, // .dotfiles
|
/(^|[/\\])\../, // .dotfiles
|
||||||
/node_modules/
|
/node_modules/,
|
||||||
|
/\.next/
|
||||||
]
|
]
|
||||||
const windowsSettings = isWindowsBash() ? {
|
const windowsSettings = isWindowsBash() ? {
|
||||||
lazy: false,
|
lazy: false,
|
||||||
|
|
Loading…
Reference in a new issue