Skip to content

Commit

Permalink
Use new WebpackDevServer option (#3401)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Nov 3, 2017
1 parent 90c83f7 commit 5811d55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpackDevServer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ module.exports = function(proxy, allowedHost) {
},
public: allowedHost,
proxy,
setup(app) {
before(app) {
// This lets us open files from the runtime error overlay.
app.use(errorOverlayMiddleware());
// This service worker file is effectively a 'no-op' that will reset any
Expand Down
2 changes: 1 addition & 1 deletion packages/react-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"sw-precache-webpack-plugin": "0.11.4",
"url-loader": "0.6.2",
"webpack": "3.8.1",
"webpack-dev-server": "2.9.3",
"webpack-dev-server": "2.9.4",
"webpack-manifest-plugin": "1.3.2",
"whatwg-fetch": "2.0.3"
},
Expand Down

0 comments on commit 5811d55

Please sign in to comment.