node-hot-loader
Advanced tools
Comparing version 1.12.0 to 1.12.1
@@ -0,1 +1,9 @@ | ||
## <small>1.12.1 (2018-09-21)</small> | ||
* Fix parsing fork exec args ([57a5bb3](https://github.com/vlazh/node-hot-loader/commit/57a5bb3)) | ||
* Update deps ([16e27f9](https://github.com/vlazh/node-hot-loader/commit/16e27f9)) | ||
* Update README ([d531adf](https://github.com/vlazh/node-hot-loader/commit/d531adf)) | ||
## 1.12.0 (2018-09-20) | ||
@@ -2,0 +10,0 @@ |
@@ -12,7 +12,7 @@ { | ||
"start-forked": "npm run clean && node-hot --fork", | ||
"start-inspect": "npm run clean && node-hot --fork=--inspect", | ||
"start-inspect": "npm run clean && node-hot --fork=--inspect,--inspect --config webpack.config.js", | ||
"start-node": "npm run clean && node --inspect-brk ./node_modules/node-hot-loader" | ||
}, | ||
"devDependencies": { | ||
"node-hot-loader": "^1.12.0", | ||
"node-hot-loader": "^1.12.1", | ||
"rimraf": "^2.6.2", | ||
@@ -19,0 +19,0 @@ "webpack": "^4.19.1", |
@@ -18,3 +18,3 @@ #!/usr/bin/env node | ||
config: 'webpack.config.js', | ||
fork: [undefined], | ||
fork: undefined, | ||
logLevel: undefined | ||
@@ -38,10 +38,10 @@ }; | ||
fork: { | ||
type: 'array', | ||
describe: 'Launch compiled assets in forked process with optional node exec arguments', | ||
type: 'string', | ||
describe: 'Launch compiled assets in forked process with optional node exec arguments. With ', | ||
defaultDescription: 'false', | ||
requiresArg: false, | ||
coerce: value => { | ||
if (value === undefined) return false; | ||
if (value.length === 0) return true; | ||
if (value[0] === undefined) return false; | ||
return value; | ||
return value.split(','); | ||
} | ||
@@ -48,0 +48,0 @@ }, |
{ | ||
"name": "node-hot-loader", | ||
"version": "1.12.0", | ||
"version": "1.12.1", | ||
"description": "Hot module replacement for Node.js applications", | ||
@@ -5,0 +5,0 @@ "main": "./lib/node-hot.js", |
@@ -34,2 +34,4 @@ # 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) | ||
**Node Hot Loader** uses [yargs](http://yargs.js.org/) for parsing command line arguments. | ||
``` | ||
@@ -54,3 +56,3 @@ Usage: node-hot {options} | ||
# or | ||
node-hot --fork=--arg1,--arg2 | ||
node-hot --fork=--arg1,--arg2 -- | ||
# or just | ||
@@ -57,0 +59,0 @@ node-hot |
Sorry, the diff of this file is not supported yet
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
139842
161