debounce-cmd
Advanced tools
Comparing version 0.1.0 to 0.2.0
{ | ||
"name": "debounce-cmd", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Debounce a command based on various factors", | ||
@@ -35,3 +35,5 @@ "keywords": [ | ||
"build": "rm -rf dist/* && microbundle --strict --target node --output dist/cli.ts --format cjs --generateTypes false", | ||
"type-check": "tsc --build" | ||
"type-check": "tsc --build", | ||
"preversion": "git checkout main && git pull", | ||
"postversion": "git push --follow-tags && open https://github.com/dcastil/debounce-cmd/releases" | ||
}, | ||
@@ -38,0 +40,0 @@ "dependencies": { |
@@ -26,3 +26,3 @@ import execSh from 'exec-sh' | ||
if (!debounceByTime && debounceByFiles.length === 0) { | ||
execSh(command) | ||
await execSh.promise(command) | ||
return | ||
@@ -67,3 +67,3 @@ } | ||
execSh(command) | ||
await execSh.promise(command) | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
38503