{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/711","repository_url":"https://api.github.com/repos/webpack/webpack-dev-server","labels_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/711/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/711/comments","events_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/711/events","html_url":"https://github.com/webpack/webpack-dev-server/issues/711","id":193608013,"number":711,"title":"webpack-dev-server/client added twice","user":{"login":"RafalFilipek","id":80960,"avatar_url":"https://avatars.githubusercontent.com/u/80960?v=3","gravatar_id":"","url":"https://api.github.com/users/RafalFilipek","html_url":"https://github.com/RafalFilipek","followers_url":"https://api.github.com/users/RafalFilipek/followers","following_url":"https://api.github.com/users/RafalFilipek/following{/other_user}","gists_url":"https://api.github.com/users/RafalFilipek/gists{/gist_id}","starred_url":"https://api.github.com/users/RafalFilipek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RafalFilipek/subscriptions","organizations_url":"https://api.github.com/users/RafalFilipek/orgs","repos_url":"https://api.github.com/users/RafalFilipek/repos","events_url":"https://api.github.com/users/RafalFilipek/events{/privacy}","received_events_url":"https://api.github.com/users/RafalFilipek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-05T20:57:17Z","updated_at":"2016-12-06T10:19:33Z","closed_at":"2016-12-06T10:19:33Z","body":"Hi!\r\n\r\nMy webpack.config.js\r\n\r\n```\r\nconst path = require('path');\r\n\r\nmodule.exports = {\r\n  entry: [\r\n    'webpack-dev-server/client?https://my.address.com/',\r\n    'webpack/hot/only-dev-server',\r\n    './index.js',\r\n  ],\r\n  output: {\r\n    filename: \"build.js\",\r\n    path: path.join(__dirname, 'static'),\r\n  },\r\n  devServer: {\r\n    contentBase: path.join(__dirname, 'static'),\r\n    proxy: {\r\n      '**': {\r\n        target: 'https://my.addres.com/t/',\r\n        secure: false\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nI work with reversed ssh tunnel like\r\n\r\n```\r\nssh -v -N -R :9010:localhost:8080 my.address.com\r\n```\r\n\r\nand standard command to run webpack-dev-server `npm run: webpack-dev-server`\r\n\r\nThe problem is that I have two initialised WS connections. \r\n\r\nFirst invalid because in my `build.js` file I found\r\n\r\n```\r\n/* WEBPACK VAR INJECTION */}.call(exports, \"?http://localhost:8080\"))\r\n```\r\n\r\nand second (correct), pointing to `https://my.address.com/`.\r\n\r\nWS connection should established only once for address I provided.\r\n\r\nWebpack: `2.1.0-beta.27`\r\nWebpack dev server: `2.1.0-beta.12`\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/comments/265112887","html_url":"https://github.com/webpack/webpack-dev-server/issues/711#issuecomment-265112887","issue_url":"https://api.github.com/repos/webpack/webpack-dev-server/issues/711","id":265112887,"user":{"login":"RafalFilipek","id":80960,"avatar_url":"https://avatars.githubusercontent.com/u/80960?v=3","gravatar_id":"","url":"https://api.github.com/users/RafalFilipek","html_url":"https://github.com/RafalFilipek","followers_url":"https://api.github.com/users/RafalFilipek/followers","following_url":"https://api.github.com/users/RafalFilipek/following{/other_user}","gists_url":"https://api.github.com/users/RafalFilipek/gists{/gist_id}","starred_url":"https://api.github.com/users/RafalFilipek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RafalFilipek/subscriptions","organizations_url":"https://api.github.com/users/RafalFilipek/orgs","repos_url":"https://api.github.com/users/RafalFilipek/repos","events_url":"https://api.github.com/users/RafalFilipek/events{/privacy}","received_events_url":"https://api.github.com/users/RafalFilipek/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T10:19:33Z","updated_at":"2016-12-06T10:19:33Z","body":"Thank you!"}}
{"actor":{"display_login":"RafalFilipek"}}