{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/aviddiviner/node-minify-watch/pulls/1","id":105463436,"html_url":"https://github.com/aviddiviner/node-minify-watch/pull/1","diff_url":"https://github.com/aviddiviner/node-minify-watch/pull/1.diff","patch_url":"https://github.com/aviddiviner/node-minify-watch/pull/1.patch","issue_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/issues/1","number":1,"state":"closed","locked":false,"title":"Added support to use function for options","user":{"login":"stolex","id":159586,"avatar_url":"https://avatars.githubusercontent.com/u/159586?v=3","gravatar_id":"","url":"https://api.github.com/users/stolex","html_url":"https://github.com/stolex","followers_url":"https://api.github.com/users/stolex/followers","following_url":"https://api.github.com/users/stolex/following{/other_user}","gists_url":"https://api.github.com/users/stolex/gists{/gist_id}","starred_url":"https://api.github.com/users/stolex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stolex/subscriptions","organizations_url":"https://api.github.com/users/stolex/orgs","repos_url":"https://api.github.com/users/stolex/repos","events_url":"https://api.github.com/users/stolex/events{/privacy}","received_events_url":"https://api.github.com/users/stolex/received_events","type":"User","site_admin":false},"body":"For some options (like source-maps) we need file name, so I added support to use functions to generate options:\r\n\r\n`options: (f) => ['--create_source_map=path.basename(f, \".js\") + '.map.js\"']`","created_at":"2017-02-09T16:31:41Z","updated_at":"2017-02-10T14:51:31Z","closed_at":"2017-02-10T14:51:31Z","merged_at":"2017-02-10T14:51:31Z","merge_commit_sha":"c78d9566e80d62935771c807a779ee011b642c97","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/pulls/1/commits","review_comments_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/pulls/1/comments","review_comment_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/issues/1/comments","statuses_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/statuses/e2fcb21c437958dbbaa9b6cc431856246f3d6cc8","head":{"label":"stolex:feature_options","ref":"feature_options","sha":"e2fcb21c437958dbbaa9b6cc431856246f3d6cc8","user":{"login":"stolex","id":159586,"avatar_url":"https://avatars.githubusercontent.com/u/159586?v=3","gravatar_id":"","url":"https://api.github.com/users/stolex","html_url":"https://github.com/stolex","followers_url":"https://api.github.com/users/stolex/followers","following_url":"https://api.github.com/users/stolex/following{/other_user}","gists_url":"https://api.github.com/users/stolex/gists{/gist_id}","starred_url":"https://api.github.com/users/stolex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stolex/subscriptions","organizations_url":"https://api.github.com/users/stolex/orgs","repos_url":"https://api.github.com/users/stolex/repos","events_url":"https://api.github.com/users/stolex/events{/privacy}","received_events_url":"https://api.github.com/users/stolex/received_events","type":"User","site_admin":false},"repo":{"id":81467607,"name":"node-minify-watch","full_name":"stolex/node-minify-watch","owner":{"login":"stolex","id":159586,"avatar_url":"https://avatars.githubusercontent.com/u/159586?v=3","gravatar_id":"","url":"https://api.github.com/users/stolex","html_url":"https://github.com/stolex","followers_url":"https://api.github.com/users/stolex/followers","following_url":"https://api.github.com/users/stolex/following{/other_user}","gists_url":"https://api.github.com/users/stolex/gists{/gist_id}","starred_url":"https://api.github.com/users/stolex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stolex/subscriptions","organizations_url":"https://api.github.com/users/stolex/orgs","repos_url":"https://api.github.com/users/stolex/repos","events_url":"https://api.github.com/users/stolex/events{/privacy}","received_events_url":"https://api.github.com/users/stolex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stolex/node-minify-watch","description":"Watch the filesystem for changes and trigger node-minify.","fork":true,"url":"https://api.github.com/repos/stolex/node-minify-watch","forks_url":"https://api.github.com/repos/stolex/node-minify-watch/forks","keys_url":"https://api.github.com/repos/stolex/node-minify-watch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stolex/node-minify-watch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stolex/node-minify-watch/teams","hooks_url":"https://api.github.com/repos/stolex/node-minify-watch/hooks","issue_events_url":"https://api.github.com/repos/stolex/node-minify-watch/issues/events{/number}","events_url":"https://api.github.com/repos/stolex/node-minify-watch/events","assignees_url":"https://api.github.com/repos/stolex/node-minify-watch/assignees{/user}","branches_url":"https://api.github.com/repos/stolex/node-minify-watch/branches{/branch}","tags_url":"https://api.github.com/repos/stolex/node-minify-watch/tags","blobs_url":"https://api.github.com/repos/stolex/node-minify-watch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stolex/node-minify-watch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stolex/node-minify-watch/git/refs{/sha}","trees_url":"https://api.github.com/repos/stolex/node-minify-watch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stolex/node-minify-watch/statuses/{sha}","languages_url":"https://api.github.com/repos/stolex/node-minify-watch/languages","stargazers_url":"https://api.github.com/repos/stolex/node-minify-watch/stargazers","contributors_url":"https://api.github.com/repos/stolex/node-minify-watch/contributors","subscribers_url":"https://api.github.com/repos/stolex/node-minify-watch/subscribers","subscription_url":"https://api.github.com/repos/stolex/node-minify-watch/subscription","commits_url":"https://api.github.com/repos/stolex/node-minify-watch/commits{/sha}","git_commits_url":"https://api.github.com/repos/stolex/node-minify-watch/git/commits{/sha}","comments_url":"https://api.github.com/repos/stolex/node-minify-watch/comments{/number}","issue_comment_url":"https://api.github.com/repos/stolex/node-minify-watch/issues/comments{/number}","contents_url":"https://api.github.com/repos/stolex/node-minify-watch/contents/{+path}","compare_url":"https://api.github.com/repos/stolex/node-minify-watch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stolex/node-minify-watch/merges","archive_url":"https://api.github.com/repos/stolex/node-minify-watch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stolex/node-minify-watch/downloads","issues_url":"https://api.github.com/repos/stolex/node-minify-watch/issues{/number}","pulls_url":"https://api.github.com/repos/stolex/node-minify-watch/pulls{/number}","milestones_url":"https://api.github.com/repos/stolex/node-minify-watch/milestones{/number}","notifications_url":"https://api.github.com/repos/stolex/node-minify-watch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stolex/node-minify-watch/labels{/name}","releases_url":"https://api.github.com/repos/stolex/node-minify-watch/releases{/id}","deployments_url":"https://api.github.com/repos/stolex/node-minify-watch/deployments","created_at":"2017-02-09T16:00:21Z","updated_at":"2017-02-09T16:00:23Z","pushed_at":"2017-02-09T16:28:06Z","git_url":"git://github.com/stolex/node-minify-watch.git","ssh_url":"git@github.com:stolex/node-minify-watch.git","clone_url":"https://github.com/stolex/node-minify-watch.git","svn_url":"https://github.com/stolex/node-minify-watch","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aviddiviner:master","ref":"master","sha":"1e82f6ef64e6bc7eb54bf292bec1902b23530fab","user":{"login":"aviddiviner","id":835967,"avatar_url":"https://avatars.githubusercontent.com/u/835967?v=3","gravatar_id":"","url":"https://api.github.com/users/aviddiviner","html_url":"https://github.com/aviddiviner","followers_url":"https://api.github.com/users/aviddiviner/followers","following_url":"https://api.github.com/users/aviddiviner/following{/other_user}","gists_url":"https://api.github.com/users/aviddiviner/gists{/gist_id}","starred_url":"https://api.github.com/users/aviddiviner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviddiviner/subscriptions","organizations_url":"https://api.github.com/users/aviddiviner/orgs","repos_url":"https://api.github.com/users/aviddiviner/repos","events_url":"https://api.github.com/users/aviddiviner/events{/privacy}","received_events_url":"https://api.github.com/users/aviddiviner/received_events","type":"User","site_admin":false},"repo":{"id":59250466,"name":"node-minify-watch","full_name":"aviddiviner/node-minify-watch","owner":{"login":"aviddiviner","id":835967,"avatar_url":"https://avatars.githubusercontent.com/u/835967?v=3","gravatar_id":"","url":"https://api.github.com/users/aviddiviner","html_url":"https://github.com/aviddiviner","followers_url":"https://api.github.com/users/aviddiviner/followers","following_url":"https://api.github.com/users/aviddiviner/following{/other_user}","gists_url":"https://api.github.com/users/aviddiviner/gists{/gist_id}","starred_url":"https://api.github.com/users/aviddiviner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviddiviner/subscriptions","organizations_url":"https://api.github.com/users/aviddiviner/orgs","repos_url":"https://api.github.com/users/aviddiviner/repos","events_url":"https://api.github.com/users/aviddiviner/events{/privacy}","received_events_url":"https://api.github.com/users/aviddiviner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aviddiviner/node-minify-watch","description":"Watch the filesystem for changes and trigger node-minify.","fork":false,"url":"https://api.github.com/repos/aviddiviner/node-minify-watch","forks_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/forks","keys_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/teams","hooks_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/hooks","issue_events_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/issues/events{/number}","events_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/events","assignees_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/assignees{/user}","branches_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/branches{/branch}","tags_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/tags","blobs_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/git/refs{/sha}","trees_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/statuses/{sha}","languages_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/languages","stargazers_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/stargazers","contributors_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/contributors","subscribers_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/subscribers","subscription_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/subscription","commits_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/commits{/sha}","git_commits_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/git/commits{/sha}","comments_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/comments{/number}","issue_comment_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/issues/comments{/number}","contents_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/contents/{+path}","compare_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/merges","archive_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/downloads","issues_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/issues{/number}","pulls_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/pulls{/number}","milestones_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/milestones{/number}","notifications_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/labels{/name}","releases_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/releases{/id}","deployments_url":"https://api.github.com/repos/aviddiviner/node-minify-watch/deployments","created_at":"2016-05-19T23:38:50Z","updated_at":"2016-05-19T23:39:24Z","pushed_at":"2017-02-10T14:51:31Z","git_url":"git://github.com/aviddiviner/node-minify-watch.git","ssh_url":"git@github.com:aviddiviner/node-minify-watch.git","clone_url":"https://github.com/aviddiviner/node-minify-watch.git","svn_url":"https://github.com/aviddiviner/node-minify-watch","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aviddiviner/node-minify-watch/pulls/1"},"html":{"href":"https://github.com/aviddiviner/node-minify-watch/pull/1"},"issue":{"href":"https://api.github.com/repos/aviddiviner/node-minify-watch/issues/1"},"comments":{"href":"https://api.github.com/repos/aviddiviner/node-minify-watch/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/aviddiviner/node-minify-watch/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/aviddiviner/node-minify-watch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aviddiviner/node-minify-watch/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/aviddiviner/node-minify-watch/statuses/e2fcb21c437958dbbaa9b6cc431856246f3d6cc8"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"aviddiviner","id":835967,"avatar_url":"https://avatars.githubusercontent.com/u/835967?v=3","gravatar_id":"","url":"https://api.github.com/users/aviddiviner","html_url":"https://github.com/aviddiviner","followers_url":"https://api.github.com/users/aviddiviner/followers","following_url":"https://api.github.com/users/aviddiviner/following{/other_user}","gists_url":"https://api.github.com/users/aviddiviner/gists{/gist_id}","starred_url":"https://api.github.com/users/aviddiviner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviddiviner/subscriptions","organizations_url":"https://api.github.com/users/aviddiviner/orgs","repos_url":"https://api.github.com/users/aviddiviner/repos","events_url":"https://api.github.com/users/aviddiviner/events{/privacy}","received_events_url":"https://api.github.com/users/aviddiviner/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"aviddiviner"}}