Comparing version 2.0.9 to 2.0.10-alpha.1
@@ -360,5 +360,13 @@ var debug = require('debug')('nodemon:run'); | ||
// option lets the process wait for the command to finish. | ||
execSync( | ||
`start "windows-kill" /min /wait "${windowsKill}" -SIGINT ${processId}` | ||
); | ||
try { | ||
execSync( | ||
`start "windows-kill" /min /wait "${windowsKill}" -SIGINT ${processId}` | ||
); | ||
} catch (e) { | ||
try { | ||
exec('taskkill /pid ' + child.pid + ' /T /F'); | ||
} catch (e) { | ||
utils.log.error("Could not shutdown sub process cleanly"); | ||
} | ||
} | ||
callback(); | ||
@@ -365,0 +373,0 @@ |
@@ -69,3 +69,4 @@ { | ||
}, | ||
"version": "2.0.9", | ||
"_version": "0.0.0-development", | ||
"version": "2.0.10-alpha.1", | ||
"funding": { | ||
@@ -72,0 +73,0 @@ "type": "opencollective", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
193966
45
2625
1