Skip to content

Commit f19973e

Browse files
jogarniergchoqueux
authored andcommitted
chore: don't watch git hash modification
1 parent 6f9a9d2 commit f19973e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

webpack.config.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,12 @@ module.exports = () => {
8787
devMiddleware: {
8888
publicPath: '/dist/',
8989
},
90-
static: path.resolve(__dirname, './'),
90+
static: {
91+
directory: path.resolve(__dirname, './'),
92+
watch: {
93+
ignored: path.resolve(__dirname, '.git')
94+
}
95+
},
9196
client: {
9297
overlay: {
9398
errors: true,

0 commit comments

Comments
 (0)