Socket
Socket
Sign inDemoInstall

node-hot-loader

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-hot-loader - npm Package Compare versions

Comparing version 1.15.3 to 1.15.4

6

CHANGELOG.md

@@ -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 @@

9

lib/NodeHotLoaderWebpackPlugin.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc