koa-webpack-hot-middleware
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -17,4 +17,4 @@ var webpackHotMiddleware = require('webpack-hot-middleware'); | ||
module.exports = function(compiler, option) { | ||
var action = webpackHotMiddleware(compiler, option); | ||
return function* (next) { | ||
var action = webpackHotMiddleware(compiler, option); | ||
var nextStep = yield middleware(action, this.req, this.res); | ||
@@ -21,0 +21,0 @@ if (nextStep && next) { |
{ | ||
"name": "koa-webpack-hot-middleware", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "webpack hot reload middleware for koa", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -20,3 +20,3 @@ # koa-webpack-hot-middleware | ||
```sh | ||
npm install --save-dev webpack-hot-middleware | ||
npm install --save-dev koa-webpack-hot-middleware | ||
``` | ||
@@ -23,0 +23,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package