{"action":"created","issue":{"url":"https://api.github.com/repos/princejwesley/Mancy/issues/131","repository_url":"https://api.github.com/repos/princejwesley/Mancy","labels_url":"https://api.github.com/repos/princejwesley/Mancy/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/princejwesley/Mancy/issues/131/comments","events_url":"https://api.github.com/repos/princejwesley/Mancy/issues/131/events","html_url":"https://github.com/princejwesley/Mancy/issues/131","id":159657067,"number":131,"title":"Make it possible to set the working directory to enable relative requires","user":{"login":"jakubholynet","id":624958,"avatar_url":"https://avatars.githubusercontent.com/u/624958?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubholynet","html_url":"https://github.com/jakubholynet","followers_url":"https://api.github.com/users/jakubholynet/followers","following_url":"https://api.github.com/users/jakubholynet/following{/other_user}","gists_url":"https://api.github.com/users/jakubholynet/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubholynet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubholynet/subscriptions","organizations_url":"https://api.github.com/users/jakubholynet/orgs","repos_url":"https://api.github.com/users/jakubholynet/repos","events_url":"https://api.github.com/users/jakubholynet/events{/privacy}","received_events_url":"https://api.github.com/users/jakubholynet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/princejwesley/Mancy/labels/enhancement","name":"enhancement","color":"BDB76B"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-10T15:10:42Z","updated_at":"2016-06-21T11:59:27Z","closed_at":null,"body":"I would like to be able to start Mancy from my Node project directory and be able to require files in it (`require(\"./my-project-file.js\");`). It could either pick up the directory when starting or accept a setting / command line option to set the working directory.\r\n\r\nThat way, it would be much easier to experiment with an existing project.\r\n\r\n(Currently my workaround is to do `const root= \"/absolute/path/to/project/dir/\"; require(root + \"my-project-file.js\")`)\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/princejwesley/Mancy/issues/comments/227418690","html_url":"https://github.com/princejwesley/Mancy/issues/131#issuecomment-227418690","issue_url":"https://api.github.com/repos/princejwesley/Mancy/issues/131","id":227418690,"user":{"login":"jakubholynet","id":624958,"avatar_url":"https://avatars.githubusercontent.com/u/624958?v=3","gravatar_id":"","url":"https://api.github.com/users/jakubholynet","html_url":"https://github.com/jakubholynet","followers_url":"https://api.github.com/users/jakubholynet/followers","following_url":"https://api.github.com/users/jakubholynet/following{/other_user}","gists_url":"https://api.github.com/users/jakubholynet/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubholynet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubholynet/subscriptions","organizations_url":"https://api.github.com/users/jakubholynet/orgs","repos_url":"https://api.github.com/users/jakubholynet/repos","events_url":"https://api.github.com/users/jakubholynet/events{/privacy}","received_events_url":"https://api.github.com/users/jakubholynet/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T11:59:27Z","updated_at":"2016-06-21T11:59:27Z","body":"I would be willing to help implement it if you could point me in the right direction (where to look / add it)"}}
{"actor":{"display_login":"jakubholynet"}}