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.
Files changed (2) hide show
  1. package/cli.js +1 -1
  2. 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 build/index.js --name ${processName}`);
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mango-cms",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "main": "./index.js",
5
5
  "exports": {
6
6
  ".": "./index.js",