{"action":"created","issue":{"url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/827","repository_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter","labels_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/827/labels{/name}","comments_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/827/comments","events_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/827/events","html_url":"https://github.com/AngularClass/angular2-webpack-starter/pull/827","id":168866817,"number":827,"title":"Update webpack.dev.js to take respect optional HOST/PORT params","user":{"login":"Pyro979","id":552431,"avatar_url":"https://avatars.githubusercontent.com/u/552431?v=3","gravatar_id":"","url":"https://api.github.com/users/Pyro979","html_url":"https://github.com/Pyro979","followers_url":"https://api.github.com/users/Pyro979/followers","following_url":"https://api.github.com/users/Pyro979/following{/other_user}","gists_url":"https://api.github.com/users/Pyro979/gists{/gist_id}","starred_url":"https://api.github.com/users/Pyro979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pyro979/subscriptions","organizations_url":"https://api.github.com/users/Pyro979/orgs","repos_url":"https://api.github.com/users/Pyro979/repos","events_url":"https://api.github.com/users/Pyro979/events{/privacy}","received_events_url":"https://api.github.com/users/Pyro979/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-02T11:54:10Z","updated_at":"2016-08-07T19:57:40Z","closed_at":"2016-08-07T19:57:35Z","pull_request":{"url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/pulls/827","html_url":"https://github.com/AngularClass/angular2-webpack-starter/pull/827","diff_url":"https://github.com/AngularClass/angular2-webpack-starter/pull/827.diff","patch_url":"https://github.com/AngularClass/angular2-webpack-starter/pull/827.patch"},"body":"* **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)\r\nEnhancement\r\n\r\n* **What is the current behavior?** (You can also link to an open issue here)\r\n\r\nProduction configuration lets you configure host and port, but dev configuration does not. It defaults to localhost and port 3000.\r\n\r\nFixes issue:\r\nhttps://github.com/AngularClass/angular2-webpack-starter/issues/821\r\nAnd partially:\r\nhttps://github.com/AngularClass/angular2-webpack-starter/issues/186\r\n\r\n\r\n* **What is the new behavior (if this is a feature change)?**\r\n\r\nNow to run dev server on a VM you can just run\r\nPORT=8081 HOST=\"0.0.0.0\" npm run server:dev:hmr\r\nor if you're using \"forever\"\r\nPORT=8081 HOST=\"0.0.0.0\" forever start -v --minUptime 1000 --spinSleepTime 1000 -c \"npm run server:dev:hmr\" ./\r\n\r\n\r\n* **Other information**:\r\n\r\nI'm using this to setup an automated Vagrant setup, and this way I can make all the changes in scripts instead of by hand. This also brings the dev config closer to the prod config."},"comment":{"url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/comments/238104551","html_url":"https://github.com/AngularClass/angular2-webpack-starter/pull/827#issuecomment-238104551","issue_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/827","id":238104551,"user":{"login":"gdi2290","id":1016365,"avatar_url":"https://avatars.githubusercontent.com/u/1016365?v=3","gravatar_id":"","url":"https://api.github.com/users/gdi2290","html_url":"https://github.com/gdi2290","followers_url":"https://api.github.com/users/gdi2290/followers","following_url":"https://api.github.com/users/gdi2290/following{/other_user}","gists_url":"https://api.github.com/users/gdi2290/gists{/gist_id}","starred_url":"https://api.github.com/users/gdi2290/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdi2290/subscriptions","organizations_url":"https://api.github.com/users/gdi2290/orgs","repos_url":"https://api.github.com/users/gdi2290/repos","events_url":"https://api.github.com/users/gdi2290/events{/privacy}","received_events_url":"https://api.github.com/users/gdi2290/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T19:57:40Z","updated_at":"2016-08-07T19:57:40Z","body":"thanks!"}}
{"actor":{"display_login":"gdi2290"}}