{"action":"opened","number":55,"pull_request":{"url":"https://api.github.com/repos/webpack/grunt-webpack/pulls/55","id":46997363,"html_url":"https://github.com/webpack/grunt-webpack/pull/55","diff_url":"https://github.com/webpack/grunt-webpack/pull/55.diff","patch_url":"https://github.com/webpack/grunt-webpack/pull/55.patch","issue_url":"https://api.github.com/repos/webpack/grunt-webpack/issues/55","number":55,"state":"open","locked":false,"title":"Fix compiler.watch() parameters","user":{"login":"ilkkao","id":474587,"avatar_url":"https://avatars.githubusercontent.com/u/474587?v=3","gravatar_id":"","url":"https://api.github.com/users/ilkkao","html_url":"https://github.com/ilkkao","followers_url":"https://api.github.com/users/ilkkao/followers","following_url":"https://api.github.com/users/ilkkao/following{/other_user}","gists_url":"https://api.github.com/users/ilkkao/gists{/gist_id}","starred_url":"https://api.github.com/users/ilkkao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilkkao/subscriptions","organizations_url":"https://api.github.com/users/ilkkao/orgs","repos_url":"https://api.github.com/users/ilkkao/repos","events_url":"https://api.github.com/users/ilkkao/events{/privacy}","received_events_url":"https://api.github.com/users/ilkkao/received_events","type":"User","site_admin":false},"body":"According to https://webpack.github.io/docs/node.js-api.html, watch API is \r\n\r\n```compiler.watch(watchOptions, handler)```\r\n\r\n where watchOptions is a object with aggregateTimeout and poll properties, not an integer.\r\n\r\nI don't know the history, maybe the API has changed recently?","created_at":"2015-10-07T08:07:51Z","updated_at":"2015-10-07T08:07:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/webpack/grunt-webpack/pulls/55/commits","review_comments_url":"https://api.github.com/repos/webpack/grunt-webpack/pulls/55/comments","review_comment_url":"https://api.github.com/repos/webpack/grunt-webpack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/webpack/grunt-webpack/issues/55/comments","statuses_url":"https://api.github.com/repos/webpack/grunt-webpack/statuses/923abfcc9d096ead422bf2d6fa910aaba1c0c719","head":{"label":"ilkkao:ilkkao/fix-watch-options","ref":"ilkkao/fix-watch-options","sha":"923abfcc9d096ead422bf2d6fa910aaba1c0c719","user":{"login":"ilkkao","id":474587,"avatar_url":"https://avatars.githubusercontent.com/u/474587?v=3","gravatar_id":"","url":"https://api.github.com/users/ilkkao","html_url":"https://github.com/ilkkao","followers_url":"https://api.github.com/users/ilkkao/followers","following_url":"https://api.github.com/users/ilkkao/following{/other_user}","gists_url":"https://api.github.com/users/ilkkao/gists{/gist_id}","starred_url":"https://api.github.com/users/ilkkao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilkkao/subscriptions","organizations_url":"https://api.github.com/users/ilkkao/orgs","repos_url":"https://api.github.com/users/ilkkao/repos","events_url":"https://api.github.com/users/ilkkao/events{/privacy}","received_events_url":"https://api.github.com/users/ilkkao/received_events","type":"User","site_admin":false},"repo":{"id":43801683,"name":"grunt-webpack","full_name":"ilkkao/grunt-webpack","owner":{"login":"ilkkao","id":474587,"avatar_url":"https://avatars.githubusercontent.com/u/474587?v=3","gravatar_id":"","url":"https://api.github.com/users/ilkkao","html_url":"https://github.com/ilkkao","followers_url":"https://api.github.com/users/ilkkao/followers","following_url":"https://api.github.com/users/ilkkao/following{/other_user}","gists_url":"https://api.github.com/users/ilkkao/gists{/gist_id}","starred_url":"https://api.github.com/users/ilkkao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilkkao/subscriptions","organizations_url":"https://api.github.com/users/ilkkao/orgs","repos_url":"https://api.github.com/users/ilkkao/repos","events_url":"https://api.github.com/users/ilkkao/events{/privacy}","received_events_url":"https://api.github.com/users/ilkkao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ilkkao/grunt-webpack","description":"integrate webpack into grunt build process","fork":true,"url":"https://api.github.com/repos/ilkkao/grunt-webpack","forks_url":"https://api.github.com/repos/ilkkao/grunt-webpack/forks","keys_url":"https://api.github.com/repos/ilkkao/grunt-webpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ilkkao/grunt-webpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ilkkao/grunt-webpack/teams","hooks_url":"https://api.github.com/repos/ilkkao/grunt-webpack/hooks","issue_events_url":"https://api.github.com/repos/ilkkao/grunt-webpack/issues/events{/number}","events_url":"https://api.github.com/repos/ilkkao/grunt-webpack/events","assignees_url":"https://api.github.com/repos/ilkkao/grunt-webpack/assignees{/user}","branches_url":"https://api.github.com/repos/ilkkao/grunt-webpack/branches{/branch}","tags_url":"https://api.github.com/repos/ilkkao/grunt-webpack/tags","blobs_url":"https://api.github.com/repos/ilkkao/grunt-webpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ilkkao/grunt-webpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ilkkao/grunt-webpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/ilkkao/grunt-webpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ilkkao/grunt-webpack/statuses/{sha}","languages_url":"https://api.github.com/repos/ilkkao/grunt-webpack/languages","stargazers_url":"https://api.github.com/repos/ilkkao/grunt-webpack/stargazers","contributors_url":"https://api.github.com/repos/ilkkao/grunt-webpack/contributors","subscribers_url":"https://api.github.com/repos/ilkkao/grunt-webpack/subscribers","subscription_url":"https://api.github.com/repos/ilkkao/grunt-webpack/subscription","commits_url":"https://api.github.com/repos/ilkkao/grunt-webpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/ilkkao/grunt-webpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/ilkkao/grunt-webpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/ilkkao/grunt-webpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/ilkkao/grunt-webpack/contents/{+path}","compare_url":"https://api.github.com/repos/ilkkao/grunt-webpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ilkkao/grunt-webpack/merges","archive_url":"https://api.github.com/repos/ilkkao/grunt-webpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ilkkao/grunt-webpack/downloads","issues_url":"https://api.github.com/repos/ilkkao/grunt-webpack/issues{/number}","pulls_url":"https://api.github.com/repos/ilkkao/grunt-webpack/pulls{/number}","milestones_url":"https://api.github.com/repos/ilkkao/grunt-webpack/milestones{/number}","notifications_url":"https://api.github.com/repos/ilkkao/grunt-webpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ilkkao/grunt-webpack/labels{/name}","releases_url":"https://api.github.com/repos/ilkkao/grunt-webpack/releases{/id}","created_at":"2015-10-07T07:47:06Z","updated_at":"2015-10-07T07:47:07Z","pushed_at":"2015-10-07T08:06:04Z","git_url":"git://github.com/ilkkao/grunt-webpack.git","ssh_url":"git@github.com:ilkkao/grunt-webpack.git","clone_url":"https://github.com/ilkkao/grunt-webpack.git","svn_url":"https://github.com/ilkkao/grunt-webpack","homepage":"","size":393,"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":"webpack:master","ref":"master","sha":"f0877698887ff94dc4fa71e1eb5346dca15b3c6e","user":{"login":"webpack","id":2105791,"avatar_url":"https://avatars.githubusercontent.com/u/2105791?v=3","gravatar_id":"","url":"https://api.github.com/users/webpack","html_url":"https://github.com/webpack","followers_url":"https://api.github.com/users/webpack/followers","following_url":"https://api.github.com/users/webpack/following{/other_user}","gists_url":"https://api.github.com/users/webpack/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack/subscriptions","organizations_url":"https://api.github.com/users/webpack/orgs","repos_url":"https://api.github.com/users/webpack/repos","events_url":"https://api.github.com/users/webpack/events{/privacy}","received_events_url":"https://api.github.com/users/webpack/received_events","type":"Organization","site_admin":false},"repo":{"id":4219538,"name":"grunt-webpack","full_name":"webpack/grunt-webpack","owner":{"login":"webpack","id":2105791,"avatar_url":"https://avatars.githubusercontent.com/u/2105791?v=3","gravatar_id":"","url":"https://api.github.com/users/webpack","html_url":"https://github.com/webpack","followers_url":"https://api.github.com/users/webpack/followers","following_url":"https://api.github.com/users/webpack/following{/other_user}","gists_url":"https://api.github.com/users/webpack/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack/subscriptions","organizations_url":"https://api.github.com/users/webpack/orgs","repos_url":"https://api.github.com/users/webpack/repos","events_url":"https://api.github.com/users/webpack/events{/privacy}","received_events_url":"https://api.github.com/users/webpack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/webpack/grunt-webpack","description":"integrate webpack into grunt build process","fork":false,"url":"https://api.github.com/repos/webpack/grunt-webpack","forks_url":"https://api.github.com/repos/webpack/grunt-webpack/forks","keys_url":"https://api.github.com/repos/webpack/grunt-webpack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webpack/grunt-webpack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webpack/grunt-webpack/teams","hooks_url":"https://api.github.com/repos/webpack/grunt-webpack/hooks","issue_events_url":"https://api.github.com/repos/webpack/grunt-webpack/issues/events{/number}","events_url":"https://api.github.com/repos/webpack/grunt-webpack/events","assignees_url":"https://api.github.com/repos/webpack/grunt-webpack/assignees{/user}","branches_url":"https://api.github.com/repos/webpack/grunt-webpack/branches{/branch}","tags_url":"https://api.github.com/repos/webpack/grunt-webpack/tags","blobs_url":"https://api.github.com/repos/webpack/grunt-webpack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webpack/grunt-webpack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webpack/grunt-webpack/git/refs{/sha}","trees_url":"https://api.github.com/repos/webpack/grunt-webpack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webpack/grunt-webpack/statuses/{sha}","languages_url":"https://api.github.com/repos/webpack/grunt-webpack/languages","stargazers_url":"https://api.github.com/repos/webpack/grunt-webpack/stargazers","contributors_url":"https://api.github.com/repos/webpack/grunt-webpack/contributors","subscribers_url":"https://api.github.com/repos/webpack/grunt-webpack/subscribers","subscription_url":"https://api.github.com/repos/webpack/grunt-webpack/subscription","commits_url":"https://api.github.com/repos/webpack/grunt-webpack/commits{/sha}","git_commits_url":"https://api.github.com/repos/webpack/grunt-webpack/git/commits{/sha}","comments_url":"https://api.github.com/repos/webpack/grunt-webpack/comments{/number}","issue_comment_url":"https://api.github.com/repos/webpack/grunt-webpack/issues/comments{/number}","contents_url":"https://api.github.com/repos/webpack/grunt-webpack/contents/{+path}","compare_url":"https://api.github.com/repos/webpack/grunt-webpack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webpack/grunt-webpack/merges","archive_url":"https://api.github.com/repos/webpack/grunt-webpack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webpack/grunt-webpack/downloads","issues_url":"https://api.github.com/repos/webpack/grunt-webpack/issues{/number}","pulls_url":"https://api.github.com/repos/webpack/grunt-webpack/pulls{/number}","milestones_url":"https://api.github.com/repos/webpack/grunt-webpack/milestones{/number}","notifications_url":"https://api.github.com/repos/webpack/grunt-webpack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webpack/grunt-webpack/labels{/name}","releases_url":"https://api.github.com/repos/webpack/grunt-webpack/releases{/id}","created_at":"2012-05-03T22:34:46Z","updated_at":"2015-09-28T01:52:07Z","pushed_at":"2015-10-07T08:07:51Z","git_url":"git://github.com/webpack/grunt-webpack.git","ssh_url":"git@github.com:webpack/grunt-webpack.git","clone_url":"https://github.com/webpack/grunt-webpack.git","svn_url":"https://github.com/webpack/grunt-webpack","homepage":"","size":393,"stargazers_count":80,"watchers_count":80,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":12,"forks":18,"open_issues":12,"watchers":80,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/webpack/grunt-webpack/pulls/55"},"html":{"href":"https://github.com/webpack/grunt-webpack/pull/55"},"issue":{"href":"https://api.github.com/repos/webpack/grunt-webpack/issues/55"},"comments":{"href":"https://api.github.com/repos/webpack/grunt-webpack/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/webpack/grunt-webpack/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/webpack/grunt-webpack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/webpack/grunt-webpack/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/webpack/grunt-webpack/statuses/923abfcc9d096ead422bf2d6fa910aaba1c0c719"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":2}}