-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
Describe the bug
I am using devenv.sh to install environment.
When config to use PM2 in aplication and start application, the name given in config not chnage, always name is devenv-shell-env
To reproduce
Make configuration like :
in ecosystem.config.js :
{
name: "entretiens-dev",
script: "./build/index.js",
out_file: "./logs/out.log",
error_file: "./logs/error.log",
log_date_format: "YYYY-MM-DD HH:mm:ss",
merge_logs: true, // fusionne les logs des instances cluster
watch: ["build", "config"],
watch_delay: 2000, // délai de 2 secondes avant redémarrage
ignore_watch: ["node_modules", "*.log"],
env: {
NODE_ENV: "development"
}
}
And after i launch it :
pm2 start ./ecosystem.config.js --only entretiens-dev --no-daemon
It start but with name : devenv-shell-env and not entretiens-dev
Version
devenv 1.6.1 (x86_64-linux)
Metadata
Metadata
Assignees
Labels
No labels