UNPKG

gploy

Version:

A continuous deployment server for automatic development

18 lines (15 loc) 476 B
var gPloy = require(gPloyLibs + "/gPloy"); module.exports = function() { gPloy.isRunning(function(err, running) { if (err) { console.log(" Error getting the worker status".red); console.log(err.message.red); console.log(err.stack); process.exit(-1); } if (running === true) { gPloy.killBackground(); console.log(" gploy stopped".green); } }); }