staging env in cluster.js

This commit is contained in:
Luis Bosque 2012-10-03 17:14:05 +02:00
parent 927a0f84e3
commit 703344d263

View File

@ -14,7 +14,7 @@ var Cluster = require('cluster2');
// sanity check arguments // sanity check arguments
var ENV = process.argv[2]; var ENV = process.argv[2];
if (ENV != 'development' && ENV != 'production') { if (ENV != 'development' && ENV != 'production' && ENV != 'staging') {
console.error("\n./cluster [environment]"); console.error("\n./cluster [environment]");
console.error("environments: [development, test, production, staging]"); console.error("environments: [development, test, production, staging]");
process.exit(1); process.exit(1);