{"action":"reopened","issue":{"url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/937","repository_url":"https://api.github.com/repos/JeffreyWay/laravel-mix","labels_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/937/labels{/name}","comments_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/937/comments","events_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/937/events","html_url":"https://github.com/JeffreyWay/laravel-mix/issues/937","id":238616968,"number":937,"title":"Hot Module Replacement not working with React (reloads the page)","user":{"login":"morrislaptop","id":67807,"avatar_url":"https://avatars1.githubusercontent.com/u/67807?v=3","gravatar_id":"","url":"https://api.github.com/users/morrislaptop","html_url":"https://github.com/morrislaptop","followers_url":"https://api.github.com/users/morrislaptop/followers","following_url":"https://api.github.com/users/morrislaptop/following{/other_user}","gists_url":"https://api.github.com/users/morrislaptop/gists{/gist_id}","starred_url":"https://api.github.com/users/morrislaptop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morrislaptop/subscriptions","organizations_url":"https://api.github.com/users/morrislaptop/orgs","repos_url":"https://api.github.com/users/morrislaptop/repos","events_url":"https://api.github.com/users/morrislaptop/events{/privacy}","received_events_url":"https://api.github.com/users/morrislaptop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-26T17:40:38Z","updated_at":"2017-07-03T05:37:46Z","closed_at":null,"body":"- Laravel Mix Version: 1.0.7\r\n- Node Version (`node -v`): v8.1.2\r\n- NPM Version (`npm -v`): 5.0.3\r\n- OS: Mac 10.12\r\n\r\n### Description:\r\n\r\nTrying to enable this, however it reloads the page whenever the JS is recompiled. Is this supposed to work out of the box? \r\n\r\n### Steps To Reproduce:\r\n\r\n1. Clone https://github.com/morrislaptop/laravel54-react\r\n2. Run npm install\r\n3. Run npm run hot\r\n4. Load website in browswer\r\n5. Make a change to resources/assets/js/components/Example.js\r\n6. Observe browser reloads instead of HMR"}}
{"actor":{"display_login":"morrislaptop"}}