MCPcopy
hub / github.com/foreversd/forever / assignSpawnWith

Function assignSpawnWith

lib/forever/cli.js:279–284  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

277 }
278
279 function assignSpawnWith(options) {
280 options.sourceDir = options.sourceDir || (file && file[0] !== '/' ? process.cwd() : '/');
281 options.workingDir = options.workingDir || options.sourceDir;
282 options.spawnWith = { cwd: options.workingDir };
283 return options;
284 }
285
286 if (configs && configs.length) {
287 return configs.map(function (conf) {

Callers 1

cli.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected