{"action":"created","issue":{"url":"https://api.github.com/repos/parcel-bundler/parcel/issues/962","repository_url":"https://api.github.com/repos/parcel-bundler/parcel","labels_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/962/labels{/name}","comments_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/962/comments","events_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/962/events","html_url":"https://github.com/parcel-bundler/parcel/issues/962","id":303371517,"number":962,"title":"reload when saving the file even without any changes","user":{"login":"Lycheemisu","id":18403933,"avatar_url":"https://avatars2.githubusercontent.com/u/18403933?v=4","gravatar_id":"","url":"https://api.github.com/users/Lycheemisu","html_url":"https://github.com/Lycheemisu","followers_url":"https://api.github.com/users/Lycheemisu/followers","following_url":"https://api.github.com/users/Lycheemisu/following{/other_user}","gists_url":"https://api.github.com/users/Lycheemisu/gists{/gist_id}","starred_url":"https://api.github.com/users/Lycheemisu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lycheemisu/subscriptions","organizations_url":"https://api.github.com/users/Lycheemisu/orgs","repos_url":"https://api.github.com/users/Lycheemisu/repos","events_url":"https://api.github.com/users/Lycheemisu/events{/privacy}","received_events_url":"https://api.github.com/users/Lycheemisu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-08T06:33:09Z","updated_at":"2018-03-08T19:18:45Z","closed_at":null,"author_association":"NONE","body":"### 🤔 Expected Behavior\r\n\r\n<!--- If you're describing a bug, tell us what should happen -->\r\n\r\n<!--- If you're suggesting a change/improvement, tell us how it should work -->\r\nwhen i save the file, parcel will compare the changes between current version and old version, then decides the necessary update&reload;\r\n### 😯 Current Behavior\r\n\r\n<!--- If describing a bug, tell us what happens instead of the expected behavior -->\r\n\r\n<!--- If you are seeing an error, please include the full error message and stack trace -->\r\n\r\n<!--- If suggesting a change/improvement, explain the difference from current behavior -->\r\nnow always reloads when saving the file even without any changes, also sometimes don't reload when real changes.\r\n\r\n### 💁 Possible Solution\r\n\r\n<!--- Not obligatory, but suggest a fix/reason for the bug, -->\r\n\r\n<!--- or ideas how to implement the addition or change -->\r\ni saw Hot Module Replacement in the website about Module.hot API  and  react-hot-loader, but could you please support the case in a simple way.\r\n\r\nthanks \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/parcel-bundler/parcel/issues/comments/371593804","html_url":"https://github.com/parcel-bundler/parcel/issues/962#issuecomment-371593804","issue_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/962","id":371593804,"user":{"login":"davidnagli","id":6759650,"avatar_url":"https://avatars0.githubusercontent.com/u/6759650?v=4","gravatar_id":"","url":"https://api.github.com/users/davidnagli","html_url":"https://github.com/davidnagli","followers_url":"https://api.github.com/users/davidnagli/followers","following_url":"https://api.github.com/users/davidnagli/following{/other_user}","gists_url":"https://api.github.com/users/davidnagli/gists{/gist_id}","starred_url":"https://api.github.com/users/davidnagli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidnagli/subscriptions","organizations_url":"https://api.github.com/users/davidnagli/orgs","repos_url":"https://api.github.com/users/davidnagli/repos","events_url":"https://api.github.com/users/davidnagli/events{/privacy}","received_events_url":"https://api.github.com/users/davidnagli/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T19:18:45Z","updated_at":"2018-03-08T19:18:45Z","author_association":"MEMBER","body":"@Lycheemisu When would this matter? Is there any case where it’s important to not trigger HMR on a file save with no change?\r\n\r\nAs @DeMoorJasper mentioned, comparing content changes is much slower than just looking at mtime."}}
{"actor":{"display_login":"davidnagli"}}