node-hot-loader
Advanced tools
Comparing version 1.15.3 to 1.15.4
@@ -0,1 +1,7 @@ | ||
## <small>1.15.4 (2019-07-23)</small> | ||
* Add force option ([3ed0b16](https://github.com/vlazh/node-hot-loader/commit/3ed0b16)) | ||
## <small>1.15.3 (2019-07-21)</small> | ||
@@ -2,0 +8,0 @@ |
@@ -18,3 +18,8 @@ "use strict"; | ||
/** | ||
* @param {{ fork: boolean | string; inMemory: boolean; logLevel: string; }} options | ||
* @param {{ | ||
* force: boolean; | ||
* fork: boolean | string; | ||
* inMemory: boolean; | ||
* logLevel: string; | ||
* }} options | ||
*/ | ||
@@ -32,3 +37,3 @@ constructor(options) { | ||
apply(compiler) { | ||
if (!compiler.options.watch) return; | ||
if (!this.options.force && !compiler.options.watch) return; | ||
(0, _loader.tweakWebpackConfig)(compiler.options); | ||
@@ -35,0 +40,0 @@ const hmrServer = new _HmrServer.default({ |
{ | ||
"name": "node-hot-loader", | ||
"version": "1.15.3", | ||
"version": "1.15.4", | ||
"description": "Hot module replacement for Node.js applications", | ||
@@ -5,0 +5,0 @@ "author": "Vladimir Zhukov", |
@@ -89,4 +89,5 @@ # Node Hot Loader [![npm package](https://img.shields.io/npm/v/node-hot-loader.svg?style=flat-square)](https://www.npmjs.org/package/node-hot-loader) | ||
plugins: [ | ||
// Options are optional | ||
// All options are optional | ||
new NodeHotLoaderWebpackPlugin({ | ||
force, // boolean. true - always launch entries, false (by default) - launch entries only in watch mode. | ||
fork, // boolean | string | ||
@@ -93,0 +94,0 @@ logLevel, // string |
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
145606
652
191