Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 47d0c7c

Browse files
committed
chore(webpack): stop watching node modules in dev mode
1 parent 14884f3 commit 47d0c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ module.exports = () => {
9999
static: {
100100
directory: path.resolve(__dirname, './'),
101101
watch: {
102-
ignored: path.resolve(__dirname, '.git'),
102+
ignored: [path.resolve(__dirname, '.git'), path.resolve(__dirname, 'node_modules')],
103103
},
104104
},
105105
client: {

0 commit comments

Comments
 (0)