Skip to content

Commit

Permalink
extend devMiddlewareOptions with config.devServer
Browse files Browse the repository at this point in the history
fixes #650
  • Loading branch information
moimikey committed Mar 13, 2017
1 parent 08a6149 commit 0ee982e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default function (configDir) {
noInfo: true,
publicPath: config.output.publicPath,
watchOptions: config.watchOptions || {},
...config.devServer,
};

const router = new Router();
Expand Down

0 comments on commit 0ee982e

Please sign in to comment.