Skip to content

Instantly share code, notes, and snippets.

var config = nodemonConf('cluster-web.js');
var newArgs = ['--debug'];
config.options.nodeArgs = Array.isArray(config.options.nodeArgs) ? config.options.nodeArgs.concat(newArgs) : newArgs;
grunt.initConfig({
nodemon: {
web: config,
objodb: nodemonConf('lib/objodb/objodbServer.js'),
topology: nodemonConf('lib/topology.js'),
scheduler: nodemonConf('lib/scheduler.js'),