webpack-dev-middleware
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -13,3 +13,3 @@ /* | ||
if(options.watchDelay === undefined) options.watchDelay = 200; | ||
if(!options.stats) options.stats = {}; | ||
if(typeof options.stats === "undefined") options.stats = {}; | ||
if(!options.stats.context) options.stats.context = process.cwd(); | ||
@@ -31,3 +31,3 @@ | ||
// print webpack output | ||
var displayStats = !options.quiet; | ||
var displayStats = (!options.quiet && options.stats !== false); | ||
if(displayStats && | ||
@@ -40,3 +40,3 @@ !(stats.hasErrors() || stats.hasWarnings()) && | ||
} | ||
if(!options.noInfo && !options.quiet) | ||
if (!options.noInfo && !options.quiet) | ||
console.info("webpack: bundle is now VALID."); | ||
@@ -62,3 +62,3 @@ | ||
if(state && (!options.noInfo && !options.quiet)) | ||
console.info("webpack: bundle is now invalid."); | ||
console.info("webpack: bundle is now INVALID."); | ||
// We are now in invalid state | ||
@@ -65,0 +65,0 @@ state = false; |
{ | ||
"name": "webpack-dev-middleware", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "Offers a dev middleware for webpack, which arguments a live bundle to a directory", |
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
7214