{"action":"created","issue":{"url":"https://api.github.com/repos/foreverjs/forever/issues/733","labels_url":"https://api.github.com/repos/foreverjs/forever/issues/733/labels{/name}","comments_url":"https://api.github.com/repos/foreverjs/forever/issues/733/comments","events_url":"https://api.github.com/repos/foreverjs/forever/issues/733/events","html_url":"https://github.com/foreverjs/forever/pull/733","id":96322414,"number":733,"title":"Adds support for JSON configuration values","user":{"login":"tkambler","id":4448053,"avatar_url":"https://avatars.githubusercontent.com/u/4448053?v=3","gravatar_id":"","url":"https://api.github.com/users/tkambler","html_url":"https://github.com/tkambler","followers_url":"https://api.github.com/users/tkambler/followers","following_url":"https://api.github.com/users/tkambler/following{/other_user}","gists_url":"https://api.github.com/users/tkambler/gists{/gist_id}","starred_url":"https://api.github.com/users/tkambler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkambler/subscriptions","organizations_url":"https://api.github.com/users/tkambler/orgs","repos_url":"https://api.github.com/users/tkambler/repos","events_url":"https://api.github.com/users/tkambler/events{/privacy}","received_events_url":"https://api.github.com/users/tkambler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-21T14:00:35Z","updated_at":"2015-07-21T22:52:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/foreverjs/forever/pulls/733","html_url":"https://github.com/foreverjs/forever/pull/733","diff_url":"https://github.com/foreverjs/forever/pull/733.diff","patch_url":"https://github.com/foreverjs/forever/pull/733.patch"},"body":"This PR adds support for JSON configuration files. Consider the following example:\r\n\r\n```\r\n.\r\n├── forever\r\n│   └── development.json\r\n└── index.js\r\n\r\n// forever/development.json\r\n{\r\n    \"uid\": \"app\",\r\n    \"append\": true,\r\n    \"watch\": true,\r\n    \"script\": \"index.js\",\r\n    \"sourceDir\": \"/Users/tim/Desktop/app\"\r\n}\r\n```\r\n\r\nThis PR allows this application to be started with:\r\n\r\n```\r\n$ forever start ./forever/development.json\r\n```\r\n\r\nIt also supports the use of absolute paths:\r\n\r\n```\r\n$ forever start /home/myuser/app/forever/development.json\r\n```\r\n\r\nWhile creating this PR and digging through the source code, it occurred to me that I'm a little unclear as to the intended use case for forever, given its current state. Forever seems to want to load *global* configuration values from `~/.forever/config.json`; however, wouldn't this prevent forever from being used with multiple apps at the same time? What if I have five separate processes that I want to monitor?"},"comment":{"url":"https://api.github.com/repos/foreverjs/forever/issues/comments/123502044","html_url":"https://github.com/foreverjs/forever/pull/733#issuecomment-123502044","issue_url":"https://api.github.com/repos/foreverjs/forever/issues/733","id":123502044,"user":{"login":"tkambler","id":4448053,"avatar_url":"https://avatars.githubusercontent.com/u/4448053?v=3","gravatar_id":"","url":"https://api.github.com/users/tkambler","html_url":"https://github.com/tkambler","followers_url":"https://api.github.com/users/tkambler/followers","following_url":"https://api.github.com/users/tkambler/following{/other_user}","gists_url":"https://api.github.com/users/tkambler/gists{/gist_id}","starred_url":"https://api.github.com/users/tkambler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkambler/subscriptions","organizations_url":"https://api.github.com/users/tkambler/orgs","repos_url":"https://api.github.com/users/tkambler/repos","events_url":"https://api.github.com/users/tkambler/events{/privacy}","received_events_url":"https://api.github.com/users/tkambler/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T22:52:17Z","updated_at":"2015-07-21T22:52:17Z","body":":+1: expect some updates tomorrow."}}