Skip to content

Commit

Permalink
Exclude node_modules in watchOptions (vercel#15020)
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens authored and rokinsky committed Jul 11, 2020
1 parent 8a89bf1 commit e12b124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ export default async function getBaseWebpackConfig(
}
},
watchOptions: {
ignored: ['.git/**', 'node_modules/**', '.git/**'],
ignored: ['**/.git', '**/node_modules'],
},
output: {
path: outputPath,
Expand Down

0 comments on commit e12b124

Please sign in to comment.