webpack-hot-middleware
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -5,3 +5,3 @@ module.exports = webpackHotMiddleware; | ||
opts = opts || {}; | ||
opts.log = typeof opts.log == 'undefined' ? console.log : false; | ||
opts.log = typeof opts.log == 'undefined' ? console.log : opts.log; | ||
opts.path = opts.path || '/__webpack_hmr'; | ||
@@ -51,2 +51,3 @@ opts.heartbeat = opts.heartbeat || 10 * 1000; | ||
res.writeHead(200, { | ||
'Access-Control-Allow-Origin': '*', | ||
'Content-Type': 'text/event-stream;charset=utf-8', | ||
@@ -53,0 +54,0 @@ 'Cache-Control': 'no-cache', |
{ | ||
"name": "webpack-hot-middleware", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Webpack hot reloading you can attach to your own server", | ||
@@ -5,0 +5,0 @@ "main": "middleware.js", |
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
11108
237