diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
commit | bbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch) | |
tree | c58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/flagged-respawn/test/bin/respawner.js | |
parent | 003fb34971cf63466184351b4db5f7c67df4f444 (diff) |
update packages
Diffstat (limited to 'node_modules/flagged-respawn/test/bin/respawner.js')
-rw-r--r-- | node_modules/flagged-respawn/test/bin/respawner.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/node_modules/flagged-respawn/test/bin/respawner.js b/node_modules/flagged-respawn/test/bin/respawner.js deleted file mode 100644 index 71348ba67..000000000 --- a/node_modules/flagged-respawn/test/bin/respawner.js +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env node - -const flaggedRespawn = require('../../'); - -// get a list of all possible v8 flags for the running version of node -const v8flags = require('v8flags').fetch(); - -flaggedRespawn(v8flags, process.argv, function (ready, child) { - if (ready) { - console.log('Running!'); - } else { - console.log('Special flags found, respawning.'); - } - if (child.pid !== process.pid) { - console.log('Respawned to PID:', child.pid); - } -}); |