UNPKG

guvnor

Version:

A node process manager that isn't spanners all the way down

10 lines (7 loc) 263 B
var http = require('http') var port = process.env.PORT || 9000 http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}) res.end('DERP DERP') }).listen(port) console.log('Server listening on %d - pid %d', port, process.pid)