Skip to content

Commit 6bcef18

Browse files
committed
avoid webpack watching root folder
1 parent dbfa51c commit 6bcef18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ module.exports = (env, argv) => {
112112
},
113113
},
114114
devServer: {
115-
static: process.env.PUBLIC_PATH ? process.env.PUBLIC_PATH : '/',
115+
static: process.env.PUBLIC_PATH ? process.env.PUBLIC_PATH : './',
116116
port: 8080,
117117
proxy: {
118118
'/api': '159.65.232.104:7350',

0 commit comments

Comments
 (0)