why-is-node-running
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -9,3 +9,2 @@ #!/usr/bin/env node | ||
console.log('probing program', prog) | ||
console.log('kill -SIGUSR1', process.pid, 'for logging') | ||
@@ -17,2 +16,4 @@ var nodeArgs = [ | ||
var nodeOpts = { stdio: 'inherit' } | ||
spawn('node', nodeArgs.concat(prog), nodeOpts) | ||
var child = spawn('node', nodeArgs.concat(prog), nodeOpts) | ||
console.log('kill -SIGUSR1', child.pid, 'for logging') |
var why = require('./') | ||
process.on('SIGUSR1', why) | ||
process.on('SIGUSR1', function() { why() }) |
{ | ||
"name": "why-is-node-running", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Node is running but you don't know why? why-is-node-running is here to help you.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6039