Skip to content

Commit

Permalink
1.5.6 fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed Oct 26, 2016
1 parent 01006ef commit b8e9386
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ exports.default = function (options) {
options.dev.publicPath = config.output.publicPath;
}

return (0, _koaCompose2.default)([koaDevware(compiler, options.dev), koaHotware(compiler, options.dev)]);
return (0, _koaCompose2.default)([koaDevware(compiler, options.dev), koaHotware(compiler, options.hot)]);
};

module.exports = exports['default'];
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ export default (options) => {

return compose([
koaDevware(compiler, options.dev),
koaHotware(compiler, options.dev)
koaHotware(compiler, options.hot)
]);
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "koa-webpack",
"version": "0.1.5",
"version": "0.1.6",
"description": "Development and Hot Reload Middleware for Koa2",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit b8e9386

Please sign in to comment.