{"action":"opened","issue":{"url":"https://api.github.com/repos/webpack-contrib/webpack-serve/issues/284","repository_url":"https://api.github.com/repos/webpack-contrib/webpack-serve","labels_url":"https://api.github.com/repos/webpack-contrib/webpack-serve/issues/284/labels{/name}","comments_url":"https://api.github.com/repos/webpack-contrib/webpack-serve/issues/284/comments","events_url":"https://api.github.com/repos/webpack-contrib/webpack-serve/issues/284/events","html_url":"https://github.com/webpack-contrib/webpack-serve/issues/284","id":358001859,"node_id":"MDU6SXNzdWUzNTgwMDE4NTk=","number":284,"title":"cli -r options not works multi times","user":{"login":"HairyRabbit","id":5752902,"node_id":"MDQ6VXNlcjU3NTI5MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/5752902?v=4","gravatar_id":"","url":"https://api.github.com/users/HairyRabbit","html_url":"https://github.com/HairyRabbit","followers_url":"https://api.github.com/users/HairyRabbit/followers","following_url":"https://api.github.com/users/HairyRabbit/following{/other_user}","gists_url":"https://api.github.com/users/HairyRabbit/gists{/gist_id}","starred_url":"https://api.github.com/users/HairyRabbit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HairyRabbit/subscriptions","organizations_url":"https://api.github.com/users/HairyRabbit/orgs","repos_url":"https://api.github.com/users/HairyRabbit/repos","events_url":"https://api.github.com/users/HairyRabbit/events{/privacy}","received_events_url":"https://api.github.com/users/HairyRabbit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-07T10:00:24Z","updated_at":"2018-09-07T10:00:24Z","closed_at":null,"author_association":"NONE","body":"* Operating System: win10\r\n* Node Version: v10.3.0\r\n* NPM Version: 6.1.0\r\n* webpack Version: 4.17.2\r\n* webpack-serve Version: 2.0.2\r\n\r\n\r\n### Actual Behavior\r\n\r\n```\r\nError: Flags were specified with invalid values:\r\n\r\n  --require  must be set to a string\r\n\r\nPlease check the command executed.\r\n```\r\n\r\n\r\n### Code\r\n\r\n```sh\r\nnpx webpack-serve -r @babel/register -r esm\r\n```\r\n\r\nI look at the schema file, found the 'require' options type was `string`.\r\n\r\nIf I pass multi `-r`, the value will be `['@babel/register', 'esm']`, and the type should be `array`.\r\n"}}
{"actor":{"display_login":"HairyRabbit"}}