mango-cms 0.2.16 → 0.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +1 -1
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -508,7 +508,7 @@ async function managePM2Process(settings) {
|
|
|
508
508
|
execSync(`pm2 reload ${processName}`);
|
|
509
509
|
} else {
|
|
510
510
|
console.log(`Starting new PM2 process: ${processName}`);
|
|
511
|
-
execSync(`pm2 start
|
|
511
|
+
execSync(`pm2 start index.js --name ${processName}`, { cwd: './build' });
|
|
512
512
|
}
|
|
513
513
|
} catch (error) {
|
|
514
514
|
console.error('Error managing PM2 process:', error.message);
|