Open thomaspatrickwelborn opened 4 months ago
Expectation that PM2 Config File may be named anything and outcome is same.
+ Project - config.ecosystem.cjs - ecosystem.config.cjs
module.exports = { apps: [ { name: "DFC-Configurator-Docubase", script: "./index.js", watch: [ "./index.js", "./package.json", "./config/**/*.*", "./pilers/**/*.*" ], args: "--config ./config.docubase.json", node_args: "--inspect=127.0.0.1:9231", execMode: "fork" } ] }
Input
pm2 start ./config.ecosystem.cjs
Output
0 │ config.ecosystem │ default │ 1.0.0
Resolve Application does not start.
p2 start ./ecosystem.config.cjs
0 │ DFC-Configurator-Docubase │ default
Resolve Application starts.
What's going wrong?
PM2 CLI Config File Name/Reference Anomaly
Expectation that PM2 Config File may be named anything and outcome is same.
Filesystem
Filesystem Content
CLI Commands
Unexpected (config.ecosystem.cjs)
Input
Output
Resolve
Application does not start.
Expected (ecosystem.config.cjs)
Input
Output
Resolve
Application starts.
Supporting information