Files
deployd/index.js
Jeff Cross 69cb19233d fix(cli): remove forever-monitor to fix repl issues
Forever monitor was causing issues with newer versions of node (0.8+),
particularly manifested in weird behavior with the repl used with the did
CLI tool. After some discussion with @ritch, we decided that supervisor
daemons should be outside of deployd, managed by developers. This commit
removes the forever-monitor module from the project, and thus fixes the
weird character issues with dpd.

Fixes #203 #176
2014-05-20 01:19:57 -07:00

13 lines
271 B
JavaScript

var Server = require('./lib/server')
, upgrade = require('doh').upgrade;
/**
* export a simple function that constructs a dpd server based on a config
*/
module.exports = function (config) {
var server = new Server(config);
upgrade(server);
return server;
};