{"action":"opened","number":1589,"pull_request":{"url":"https://api.github.com/repos/webpack/webpack-dev-server/pulls/1589","id":236463298,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NDYzMjk4","html_url":"https://github.com/webpack/webpack-dev-server/pull/1589","diff_url":"https://github.com/webpack/webpack-dev-server/pull/1589.diff","patch_url":"https://github.com/webpack/webpack-dev-server/pull/1589.patch","issue_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/1589","number":1589,"state":"open","locked":false,"title":"add params for invalidate function","user":{"login":"Yangqin0607","id":17544463,"node_id":"MDQ6VXNlcjE3NTQ0NDYz","avatar_url":"https://avatars0.githubusercontent.com/u/17544463?v=4","gravatar_id":"","url":"https://api.github.com/users/Yangqin0607","html_url":"https://github.com/Yangqin0607","followers_url":"https://api.github.com/users/Yangqin0607/followers","following_url":"https://api.github.com/users/Yangqin0607/following{/other_user}","gists_url":"https://api.github.com/users/Yangqin0607/gists{/gist_id}","starred_url":"https://api.github.com/users/Yangqin0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yangqin0607/subscriptions","organizations_url":"https://api.github.com/users/Yangqin0607/orgs","repos_url":"https://api.github.com/users/Yangqin0607/repos","events_url":"https://api.github.com/users/Yangqin0607/events{/privacy}","received_events_url":"https://api.github.com/users/Yangqin0607/received_events","type":"User","site_admin":false},"body":"\r\n- [x ] This is a **bugfix**\r\n- [ ] This is a **feature**\r\n- [ ] This is a **code refactor**\r\n- [ ] This is a **test update**\r\n- [ ] This is a **docs update**\r\n- [ ] This is a **metadata update**\r\n\r\n### For Bugs and Features; did you add new tests?\r\n\r\n<!-- Please note that we won't approve your changes if you don't add tests. -->\r\n\r\n### Motivation / Use-Case\r\nIt uses the function invalidate of webpack-dev-middleware which can accept a callback. But when I used invalidate function export from webpack-dev-server, I can't pass parameters.\r\n\r\n### Breaking Changes\r\n\r\n<!--\r\n  If this PR introduces a breaking change, please describe the impact and a\r\n  potential migration path for existing applications.\r\n-->\r\n\r\n### Additional Info\r\n","created_at":"2018-12-06T09:39:13Z","updated_at":"2018-12-06T09:39:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/webpack/webpack-dev-server/pulls/1589/commits","review_comments_url":"https://api.github.com/repos/webpack/webpack-dev-server/pulls/1589/comments","review_comment_url":"https://api.github.com/repos/webpack/webpack-dev-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/1589/comments","statuses_url":"https://api.github.com/repos/webpack/webpack-dev-server/statuses/508f1f82ef02ad6468f4f739eb492b51b1192604","head":{"label":"Yangqin0607:add-cb-for-invalidate","ref":"add-cb-for-invalidate","sha":"508f1f82ef02ad6468f4f739eb492b51b1192604","user":{"login":"Yangqin0607","id":17544463,"node_id":"MDQ6VXNlcjE3NTQ0NDYz","avatar_url":"https://avatars0.githubusercontent.com/u/17544463?v=4","gravatar_id":"","url":"https://api.github.com/users/Yangqin0607","html_url":"https://github.com/Yangqin0607","followers_url":"https://api.github.com/users/Yangqin0607/followers","following_url":"https://api.github.com/users/Yangqin0607/following{/other_user}","gists_url":"https://api.github.com/users/Yangqin0607/gists{/gist_id}","starred_url":"https://api.github.com/users/Yangqin0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yangqin0607/subscriptions","organizations_url":"https://api.github.com/users/Yangqin0607/orgs","repos_url":"https://api.github.com/users/Yangqin0607/repos","events_url":"https://api.github.com/users/Yangqin0607/events{/privacy}","received_events_url":"https://api.github.com/users/Yangqin0607/received_events","type":"User","site_admin":false},"repo":{"id":160649721,"node_id":"MDEwOlJlcG9zaXRvcnkxNjA2NDk3MjE=","name":"webpack-dev-server","full_name":"Yangqin0607/webpack-dev-server","private":false,"owner":{"login":"Yangqin0607","id":17544463,"node_id":"MDQ6VXNlcjE3NTQ0NDYz","avatar_url":"https://avatars0.githubusercontent.com/u/17544463?v=4","gravatar_id":"","url":"https://api.github.com/users/Yangqin0607","html_url":"https://github.com/Yangqin0607","followers_url":"https://api.github.com/users/Yangqin0607/followers","following_url":"https://api.github.com/users/Yangqin0607/following{/other_user}","gists_url":"https://api.github.com/users/Yangqin0607/gists{/gist_id}","starred_url":"https://api.github.com/users/Yangqin0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yangqin0607/subscriptions","organizations_url":"https://api.github.com/users/Yangqin0607/orgs","repos_url":"https://api.github.com/users/Yangqin0607/repos","events_url":"https://api.github.com/users/Yangqin0607/events{/privacy}","received_events_url":"https://api.github.com/users/Yangqin0607/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Yangqin0607/webpack-dev-server","description":"Serves a webpack app. Updates the browser on changes.","fork":true,"url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server","forks_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/forks","keys_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/teams","hooks_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/hooks","issue_events_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/issues/events{/number}","events_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/events","assignees_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/assignees{/user}","branches_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/branches{/branch}","tags_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/tags","blobs_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/languages","stargazers_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/stargazers","contributors_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/contributors","subscribers_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/subscribers","subscription_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/subscription","commits_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/contents/{+path}","compare_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/merges","archive_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/downloads","issues_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/issues{/number}","pulls_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/labels{/name}","releases_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/releases{/id}","deployments_url":"https://api.github.com/repos/Yangqin0607/webpack-dev-server/deployments","created_at":"2018-12-06T09:18:11Z","updated_at":"2018-12-06T09:18:13Z","pushed_at":"2018-12-06T09:31:04Z","git_url":"git://github.com/Yangqin0607/webpack-dev-server.git","ssh_url":"git@github.com:Yangqin0607/webpack-dev-server.git","clone_url":"https://github.com/Yangqin0607/webpack-dev-server.git","svn_url":"https://github.com/Yangqin0607/webpack-dev-server","homepage":null,"size":2174,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"webpack:master","ref":"master","sha":"fadae5da6ba0261cade08164feeaad99b1de6b79","user":{"login":"webpack","id":2105791,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDU3OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/2105791?v=4","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":5839692,"node_id":"MDEwOlJlcG9zaXRvcnk1ODM5Njky","name":"webpack-dev-server","full_name":"webpack/webpack-dev-server","private":false,"owner":{"login":"webpack","id":2105791,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxMDU3OTE=","avatar_url":"https://avatars2.githubusercontent.com/u/2105791?v=4","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},"html_url":"https://github.com/webpack/webpack-dev-server","description":"Serves a webpack app. Updates the browser on changes.","fork":false,"url":"https://api.github.com/repos/webpack/webpack-dev-server","forks_url":"https://api.github.com/repos/webpack/webpack-dev-server/forks","keys_url":"https://api.github.com/repos/webpack/webpack-dev-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webpack/webpack-dev-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webpack/webpack-dev-server/teams","hooks_url":"https://api.github.com/repos/webpack/webpack-dev-server/hooks","issue_events_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/events{/number}","events_url":"https://api.github.com/repos/webpack/webpack-dev-server/events","assignees_url":"https://api.github.com/repos/webpack/webpack-dev-server/assignees{/user}","branches_url":"https://api.github.com/repos/webpack/webpack-dev-server/branches{/branch}","tags_url":"https://api.github.com/repos/webpack/webpack-dev-server/tags","blobs_url":"https://api.github.com/repos/webpack/webpack-dev-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webpack/webpack-dev-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webpack/webpack-dev-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/webpack/webpack-dev-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webpack/webpack-dev-server/statuses/{sha}","languages_url":"https://api.github.com/repos/webpack/webpack-dev-server/languages","stargazers_url":"https://api.github.com/repos/webpack/webpack-dev-server/stargazers","contributors_url":"https://api.github.com/repos/webpack/webpack-dev-server/contributors","subscribers_url":"https://api.github.com/repos/webpack/webpack-dev-server/subscribers","subscription_url":"https://api.github.com/repos/webpack/webpack-dev-server/subscription","commits_url":"https://api.github.com/repos/webpack/webpack-dev-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/webpack/webpack-dev-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/webpack/webpack-dev-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/webpack/webpack-dev-server/contents/{+path}","compare_url":"https://api.github.com/repos/webpack/webpack-dev-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webpack/webpack-dev-server/merges","archive_url":"https://api.github.com/repos/webpack/webpack-dev-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webpack/webpack-dev-server/downloads","issues_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues{/number}","pulls_url":"https://api.github.com/repos/webpack/webpack-dev-server/pulls{/number}","milestones_url":"https://api.github.com/repos/webpack/webpack-dev-server/milestones{/number}","notifications_url":"https://api.github.com/repos/webpack/webpack-dev-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webpack/webpack-dev-server/labels{/name}","releases_url":"https://api.github.com/repos/webpack/webpack-dev-server/releases{/id}","deployments_url":"https://api.github.com/repos/webpack/webpack-dev-server/deployments","created_at":"2012-09-17T10:52:18Z","updated_at":"2018-12-06T04:15:50Z","pushed_at":"2018-12-05T15:15:17Z","git_url":"git://github.com/webpack/webpack-dev-server.git","ssh_url":"git@github.com:webpack/webpack-dev-server.git","clone_url":"https://github.com/webpack/webpack-dev-server.git","svn_url":"https://github.com/webpack/webpack-dev-server","homepage":null,"size":2174,"stargazers_count":4677,"watchers_count":4677,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":803,"mirror_url":null,"archived":false,"open_issues_count":76,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":803,"open_issues":76,"watchers":4677,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/webpack/webpack-dev-server/pulls/1589"},"html":{"href":"https://github.com/webpack/webpack-dev-server/pull/1589"},"issue":{"href":"https://api.github.com/repos/webpack/webpack-dev-server/issues/1589"},"comments":{"href":"https://api.github.com/repos/webpack/webpack-dev-server/issues/1589/comments"},"review_comments":{"href":"https://api.github.com/repos/webpack/webpack-dev-server/pulls/1589/comments"},"review_comment":{"href":"https://api.github.com/repos/webpack/webpack-dev-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/webpack/webpack-dev-server/pulls/1589/commits"},"statuses":{"href":"https://api.github.com/repos/webpack/webpack-dev-server/statuses/508f1f82ef02ad6468f4f739eb492b51b1192604"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"Yangqin0607"}}