{"action":"created","issue":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/546","repository_url":"https://api.github.com/repos/mxstbr/react-boilerplate","labels_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/546/labels{/name}","comments_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/546/comments","events_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/546/events","html_url":"https://github.com/mxstbr/react-boilerplate/pull/546","id":160220278,"number":546,"title":"Add babel-watch and es6 support on the server","user":{"login":"harijoe","id":10897494,"avatar_url":"https://avatars.githubusercontent.com/u/10897494?v=3","gravatar_id":"","url":"https://api.github.com/users/harijoe","html_url":"https://github.com/harijoe","followers_url":"https://api.github.com/users/harijoe/followers","following_url":"https://api.github.com/users/harijoe/following{/other_user}","gists_url":"https://api.github.com/users/harijoe/gists{/gist_id}","starred_url":"https://api.github.com/users/harijoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harijoe/subscriptions","organizations_url":"https://api.github.com/users/harijoe/orgs","repos_url":"https://api.github.com/users/harijoe/repos","events_url":"https://api.github.com/users/harijoe/events{/privacy}","received_events_url":"https://api.github.com/users/harijoe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/labels/discussion","name":"discussion","color":"cc317c"},{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/labels/in%20progress","name":"in progress","color":"FEF9F0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-06-14T16:04:13Z","updated_at":"2016-07-04T21:03:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/pulls/546","html_url":"https://github.com/mxstbr/react-boilerplate/pull/546","diff_url":"https://github.com/mxstbr/react-boilerplate/pull/546.diff","patch_url":"https://github.com/mxstbr/react-boilerplate/pull/546.patch"},"body":"This PR proposes the addition of `[babel-watch](https://github.com/kmagiera/babel-watch)`, which brings two improvements:\r\n\r\n- The tool reloads very quickly the server on every file change, (this is a necessary condition to allow people to extend the express server and make an API out of it as suggested in `index.js`, today only used to handle HMR)\r\n- The tool allows the usage of ES6 in the server by transpiling the code on the fly\r\n\r\nNotice: `babel-watch` should not be used in production. The server should be built with babel, shipped and then run with only just node. This has not been implemented and suggestions are very welcome to address it :)"},"comment":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/comments/230353836","html_url":"https://github.com/mxstbr/react-boilerplate/pull/546#issuecomment-230353836","issue_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/546","id":230353836,"user":{"login":"mnickkk","id":7702564,"avatar_url":"https://avatars.githubusercontent.com/u/7702564?v=3","gravatar_id":"","url":"https://api.github.com/users/mnickkk","html_url":"https://github.com/mnickkk","followers_url":"https://api.github.com/users/mnickkk/followers","following_url":"https://api.github.com/users/mnickkk/following{/other_user}","gists_url":"https://api.github.com/users/mnickkk/gists{/gist_id}","starred_url":"https://api.github.com/users/mnickkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnickkk/subscriptions","organizations_url":"https://api.github.com/users/mnickkk/orgs","repos_url":"https://api.github.com/users/mnickkk/repos","events_url":"https://api.github.com/users/mnickkk/events{/privacy}","received_events_url":"https://api.github.com/users/mnickkk/received_events","type":"User","site_admin":false},"created_at":"2016-07-04T21:03:13Z","updated_at":"2016-07-04T21:03:13Z","body":"This project is definitely missing this feature, however I don't think that this PR resolves this correctly. \r\nBackend changes cause whole frontend rebuild (and remember that initial build takes time). Should probably spawn two separable tasks (maybe use https://github.com/kimmobrunfeldt/concurrently I've seen this approach in one boilerplate for sure)?\r\nThese two packages might be useful:\r\nhttps://github.com/jlongster/monkey-hot-loader\r\nhttps://github.com/ericclemmons/webpack-hot-server-example"}}
{"actor":{"display_login":"mnickkk"}}