-
-
Save ndhoule/2ab5ef2a33979d1a3dd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'), | |
propertyComputeWorker: nodemonConf('lib/propertyComputeWorker.js'), | |
emailQueueListener: nodemonConf('lib/emailQueueListener.js'), | |
fayeServer: nodemonConf('lib/fayeServer.js') | |
}, | |
concurrent: { | |
nodemon: { | |
tasks: [ | |
'nodemon:web', | |
'nodemon:objodb', | |
'nodemon:topology', | |
'nodemon:scheduler', | |
'nodemon:propertyComputeWorker', | |
'nodemon:emailQueueListener', | |
'nodemon:fayeServer' | |
], | |
options: { | |
logConcurrentOutput: true | |
} | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment