{"action":"opened","issue":{"url":"https://api.github.com/repos/Unitech/PM2/issues/1304","labels_url":"https://api.github.com/repos/Unitech/PM2/issues/1304/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/PM2/issues/1304/comments","events_url":"https://api.github.com/repos/Unitech/PM2/issues/1304/events","html_url":"https://github.com/Unitech/PM2/issues/1304","id":80331429,"number":1304,"title":"ecosystem.json/json5 inconsistency","user":{"login":"metalim","id":230431,"avatar_url":"https://avatars.githubusercontent.com/u/230431?v=3","gravatar_id":"","url":"https://api.github.com/users/metalim","html_url":"https://github.com/metalim","followers_url":"https://api.github.com/users/metalim/followers","following_url":"https://api.github.com/users/metalim/following{/other_user}","gists_url":"https://api.github.com/users/metalim/gists{/gist_id}","starred_url":"https://api.github.com/users/metalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalim/subscriptions","organizations_url":"https://api.github.com/users/metalim/orgs","repos_url":"https://api.github.com/users/metalim/repos","events_url":"https://api.github.com/users/metalim/events{/privacy}","received_events_url":"https://api.github.com/users/metalim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-25T01:22:43Z","updated_at":"2015-05-25T01:22:43Z","closed_at":null,"body":"`pm2 ecosystem` generates *ecosystem.json5*. But `pm2 deploy dev` is looking by default for *ecosystem.json*. IMO defaults should not be different across commands.\r\nPatching CLI.js [here](https://github.com/Unitech/PM2/blob/master/lib/CLI.js#L211) to *.json5* solved the issue for me. Until next update.\r\n"}}