{"action":"created","issue":{"url":"https://api.github.com/repos/elmish/hmr/issues/12","repository_url":"https://api.github.com/repos/elmish/hmr","labels_url":"https://api.github.com/repos/elmish/hmr/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/elmish/hmr/issues/12/comments","events_url":"https://api.github.com/repos/elmish/hmr/issues/12/events","html_url":"https://github.com/elmish/hmr/issues/12","id":380365048,"node_id":"MDU6SXNzdWUzODAzNjUwNDg=","number":12,"title":"App locks with HMR > 3.0, but works with < 3.0","user":{"login":"cmeeren","id":7766733,"node_id":"MDQ6VXNlcjc3NjY3MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/7766733?v=4","gravatar_id":"","url":"https://api.github.com/users/cmeeren","html_url":"https://github.com/cmeeren","followers_url":"https://api.github.com/users/cmeeren/followers","following_url":"https://api.github.com/users/cmeeren/following{/other_user}","gists_url":"https://api.github.com/users/cmeeren/gists{/gist_id}","starred_url":"https://api.github.com/users/cmeeren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmeeren/subscriptions","organizations_url":"https://api.github.com/users/cmeeren/orgs","repos_url":"https://api.github.com/users/cmeeren/repos","events_url":"https://api.github.com/users/cmeeren/events{/privacy}","received_events_url":"https://api.github.com/users/cmeeren/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-11-13T18:32:57Z","updated_at":"2018-11-13T20:38:53Z","closed_at":"2018-11-13T20:38:53Z","author_association":"NONE","body":"### Description\r\n\r\nI have a problem where if I use version 3 of the HMR nuget, the app locks after the first HMR update after I have made state changes, whereas with version 2, it works fine.\r\n\r\n### Repro code\r\n\r\nRepro solution: [fulma-demo.zip](https://github.com/elmish/hmr/files/2577503/fulma-demo.zip)\r\n\r\n(Not minimal, it's a slightly modified version of https://github.com/MangelMaxime/fulma-demo where I've replaced the app contents with a TodoMVC sample. Contains a lot of dead code from the fulma demo; only the code in `src/App.fs` is relevant.)\r\n\r\n1. Run `fake build -t Watch`\r\n2. Open `localhost:8080`\r\n3. Make any Elmish model change (e.g. write in the text field)\r\n4. Make a change in `src/App.fs` that should be visible with HMR (e.g. replace `\"TodoMVC\"` near the bottom with another string)\r\n5. Observe HMR works\r\n6. Now open `paket.dependencies` and remove `< 3` from `nuget Fable.Elmish.HMR < 3`\r\n7. Run `paket update`\r\n8. Remove `|> Program.withHMR` from `src/App.fs`\r\n9. Repeat 1–5, notice how that the app is locked and won't respond to input.\r\n\r\n\r\n* elmish version: 2.0.3\r\n* fable-compiler version: 2.0.10 (output of `dotnet fable --version`, don't know if that's the right thing)\r\n* fable-core version: 2.0.1\r\n* Operating system: Win 10\r\n"},"comment":{"url":"https://api.github.com/repos/elmish/hmr/issues/comments/438428098","html_url":"https://github.com/elmish/hmr/issues/12#issuecomment-438428098","issue_url":"https://api.github.com/repos/elmish/hmr/issues/12","id":438428098,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODQyODA5OA==","user":{"login":"MangelMaxime","id":4760796,"node_id":"MDQ6VXNlcjQ3NjA3OTY=","avatar_url":"https://avatars0.githubusercontent.com/u/4760796?v=4","gravatar_id":"","url":"https://api.github.com/users/MangelMaxime","html_url":"https://github.com/MangelMaxime","followers_url":"https://api.github.com/users/MangelMaxime/followers","following_url":"https://api.github.com/users/MangelMaxime/following{/other_user}","gists_url":"https://api.github.com/users/MangelMaxime/gists{/gist_id}","starred_url":"https://api.github.com/users/MangelMaxime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MangelMaxime/subscriptions","organizations_url":"https://api.github.com/users/MangelMaxime/orgs","repos_url":"https://api.github.com/users/MangelMaxime/repos","events_url":"https://api.github.com/users/MangelMaxime/events{/privacy}","received_events_url":"https://api.github.com/users/MangelMaxime/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T20:38:53Z","updated_at":"2018-11-13T20:38:53Z","author_association":"MEMBER","body":"Ok, I tested the new version in Fulma-demo and it seems to work for me.\r\n\r\nFeel free to re-open if needed."}}
{"actor":{"display_login":"MangelMaxime"}}