1
0
Fork 0
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:
Tim Neutkens 2017-02-27 22:35:17 +01:00 committed by Guillermo Rauch
parent ee56636660
commit 4620cd8cd6

View file

@ -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,