payload: {"action":"created","issue":{"url":"https://api.github.com/repos/OsamaAbbas/bytenode/issues/12","repository_url":"https://api.github.com/repos/OsamaAbbas/bytenode","labels_url":"https://api.github.com/repos/OsamaAbbas/bytenode/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/OsamaAbbas/bytenode/issues/12/comments","events_url":"https://api.github.com/repos/OsamaAbbas/bytenode/issues/12/events","html_url":"https://github.com/OsamaAbbas/bytenode/issues/12","id":425174736,"node_id":"MDU6SXNzdWU0MjUxNzQ3MzY=","number":12,"title":"question: how to use with pm2?","user":{"login":"shajeeck","id":23249536,"node_id":"MDQ6VXNlcjIzMjQ5NTM2","avatar_url":"https://avatars1.githubusercontent.com/u/23249536?v=4","gravatar_id":"","url":"https://api.github.com/users/shajeeck","html_url":"https://github.com/shajeeck","followers_url":"https://api.github.com/users/shajeeck/followers","following_url":"https://api.github.com/users/shajeeck/following{/other_user}","gists_url":"https://api.github.com/users/shajeeck/gists{/gist_id}","starred_url":"https://api.github.com/users/shajeeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shajeeck/subscriptions","organizations_url":"https://api.github.com/users/shajeeck/orgs","repos_url":"https://api.github.com/users/shajeeck/repos","events_url":"https://api.github.com/users/shajeeck/events{/privacy}","received_events_url":"https://api.github.com/users/shajeeck/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-26T00:36:10Z","updated_at":"2019-03-27T07:01:22Z","closed_at":"2019-03-27T07:01:22Z","author_association":"NONE","body":"thanx for this package. How can i start my jsc file with bytenode using pm2?\r\ni am trying to start jsc as a service using pm2"},"comment":{"url":"https://api.github.com/repos/OsamaAbbas/bytenode/issues/comments/477006113","html_url":"https://github.com/OsamaAbbas/bytenode/issues/12#issuecomment-477006113","issue_url":"https://api.github.com/repos/OsamaAbbas/bytenode/issues/12","id":477006113,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NzAwNjExMw==","user":{"login":"OsamaAbbas","id":3346502,"node_id":"MDQ6VXNlcjMzNDY1MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/3346502?v=4","gravatar_id":"","url":"https://api.github.com/users/OsamaAbbas","html_url":"https://github.com/OsamaAbbas","followers_url":"https://api.github.com/users/OsamaAbbas/followers","following_url":"https://api.github.com/users/OsamaAbbas/following{/other_user}","gists_url":"https://api.github.com/users/OsamaAbbas/gists{/gist_id}","starred_url":"https://api.github.com/users/OsamaAbbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OsamaAbbas/subscriptions","organizations_url":"https://api.github.com/users/OsamaAbbas/orgs","repos_url":"https://api.github.com/users/OsamaAbbas/repos","events_url":"https://api.github.com/users/OsamaAbbas/events{/privacy}","received_events_url":"https://api.github.com/users/OsamaAbbas/received_events","type":"User","site_admin":false},"created_at":"2019-03-27T07:01:22Z","updated_at":"2019-03-27T07:01:22Z","author_association":"OWNER","body":"Maybe using something like this:\r\n\r\n```JavaScript\r\n// launcher.js\r\nconst bytenode = require('bytenode');\r\n\r\nrequire('./server.jsc');\r\n```\r\n\r\nand then:\r\n```bash\r\npm2 start launcher.js\r\n```\r\n\r\nLet me know if this answers your question."}}
other: {"actor":{"display_login":"OsamaAbbas"}}