Comparing version 6.6.0 to 6.7.0
# node-dev | ||
## v6.7.0 / 2021-04-07 | ||
- [New Option] `--debounce` to control how long to wait before restarting | ||
- [New Option] `--interval` to adjust the polling interval when enabled | ||
- [`test`] Stop using `tap` aliases | ||
- [`husky`] Migrate from `v4` to `v6` | ||
- [dependencies] Update `semver` from `v7.3.4` to `v7.3.5` | ||
- [devDependencies] Update `@types/node`, `eslint`, `husky`, & `tap` | ||
## v6.6.0 / 2021-03-23 | ||
@@ -4,0 +13,0 @@ |
@@ -8,2 +8,3 @@ const { existsSync, readFileSync } = require('fs'); | ||
clear: false, | ||
debounce: 10, | ||
dedupe: false, | ||
@@ -19,2 +20,3 @@ deps: 1, | ||
ignore: [], | ||
interval: 1000, | ||
notify: true, | ||
@@ -21,0 +23,0 @@ poll: false, |
@@ -20,2 +20,3 @@ const { fork } = require('child_process'); | ||
clear, | ||
debounce, | ||
dedupe, | ||
@@ -25,2 +26,3 @@ deps, | ||
ignore, | ||
interval, | ||
notify: notifyEnabled, | ||
@@ -62,3 +64,3 @@ poll: forcePolling, | ||
const watcher = filewatcher({ forcePolling }); | ||
const watcher = filewatcher({ debounce, forcePolling, interval }); | ||
let isPaused = false; | ||
@@ -65,0 +67,0 @@ |
{ | ||
"name": "node-dev", | ||
"version": "6.6.0", | ||
"version": "6.7.0", | ||
"description": "Restarts your app when files are modified", | ||
@@ -31,3 +31,4 @@ "keywords": [ | ||
"lint": "eslint lib test bin/node-dev", | ||
"test": "node test" | ||
"test": "node test", | ||
"prepare": "husky install" | ||
}, | ||
@@ -41,12 +42,12 @@ "dependencies": { | ||
"resolve": "^1.0.0", | ||
"semver": "^7.3.4" | ||
"semver": "^7.3.5" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^14.14.31", | ||
"eslint": "^7.20.0", | ||
"@types/node": "^14.14.37", | ||
"eslint": "^7.23.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"husky": "^4.3.8", | ||
"husky": "^6.0.0", | ||
"lint-staged": "^10.5.4", | ||
"prettier": "^2.2.1", | ||
"tap": "^14.11.0", | ||
"tap": "^15.0.2", | ||
"touch": "^3.1.0", | ||
@@ -56,7 +57,2 @@ "ts-node": "^9.1.1", | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
@@ -63,0 +59,0 @@ "*.js": "eslint --cache --fix", |
@@ -35,2 +35,3 @@ [![Build Status](https://secure.travis-ci.org/fgnass/node-dev.png)](http://travis-ci.org/fgnass/node-dev) | ||
- `--clear` - Clear the screen on restart | ||
- `--debounce` - Debounce change events by time in milliseconds (non-polling mode, default: 10) | ||
- `--dedupe` - [Dedupe dynamically](https://www.npmjs.org/package/dynamic-dedupe) | ||
@@ -45,2 +46,3 @@ - `--deps`: | ||
- `--ignore` - A file whose changes should not cause a restart | ||
- `--interval` - Polling interval in milliseconds (default: 1000) | ||
- `--notify=false` - Disable desktop notifications | ||
@@ -47,0 +49,0 @@ - `--poll` - Force polling for file changes (Caution! CPU-heavy!) |
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
34467
23
467
175
Updatedsemver@^7.3.5