Skip to content

Commit

Permalink
Merge pull request #246 from nextcloud/fix/hmr_devserver
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Nov 15, 2021
2 parents 95a820f + af897bf commit 924cf31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"vue-loader": "^15.9.6",
"vue-template-compiler": "^2.6.12",
"webpack": "~5.64.0",
"webpack-cli": "^4.5.0",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^4.0.0"
},
"devDependencies": {
Expand All @@ -59,7 +59,7 @@
"vue-loader": "^15.9.6",
"vue-template-compiler": "^2.6.12",
"webpack": "~5.64.0",
"webpack-cli": "^4.5.0",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^4.0.0"
}
}
9 changes: 7 additions & 2 deletions webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,14 @@ module.exports = {

devServer: {
hot: true,
port: 3000,
writeToDisk: true,
host: '127.0.0.1',
port: 3000,
client: {
overlay: false,
},
devMiddleware: {
writeToDisk: true,
},
headers: {
'Access-Control-Allow-Origin': '*',
},
Expand Down

0 comments on commit 924cf31

Please sign in to comment.