{"action":"created","issue":{"url":"https://api.github.com/repos/mzgoddard/hard-source-webpack-plugin/issues/45","repository_url":"https://api.github.com/repos/mzgoddard/hard-source-webpack-plugin","labels_url":"https://api.github.com/repos/mzgoddard/hard-source-webpack-plugin/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/mzgoddard/hard-source-webpack-plugin/issues/45/comments","events_url":"https://api.github.com/repos/mzgoddard/hard-source-webpack-plugin/issues/45/events","html_url":"https://github.com/mzgoddard/hard-source-webpack-plugin/pull/45","id":182097763,"number":45,"title":"Use content MD5 instead of file mtime to rebuild cache","user":{"login":"nikhilmat","id":1571908,"avatar_url":"https://avatars.githubusercontent.com/u/1571908?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilmat","html_url":"https://github.com/nikhilmat","followers_url":"https://api.github.com/users/nikhilmat/followers","following_url":"https://api.github.com/users/nikhilmat/following{/other_user}","gists_url":"https://api.github.com/users/nikhilmat/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilmat/subscriptions","organizations_url":"https://api.github.com/users/nikhilmat/orgs","repos_url":"https://api.github.com/users/nikhilmat/repos","events_url":"https://api.github.com/users/nikhilmat/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilmat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-10T19:39:00Z","updated_at":"2016-10-10T23:58:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mzgoddard/hard-source-webpack-plugin/pulls/45","html_url":"https://github.com/mzgoddard/hard-source-webpack-plugin/pull/45","diff_url":"https://github.com/mzgoddard/hard-source-webpack-plugin/pull/45.diff","patch_url":"https://github.com/mzgoddard/hard-source-webpack-plugin/pull/45.patch"},"body":"Awesome library!\r\n\r\nWhile the existing mtime strategy works great for local rebuilds, it does not lend itself well to environments where code is checked out on the machine right before a build - like our CI pipeline. When a build starts, the code is freshly checked out on a machine and loaded with the previous build's cache, and since the mtimes have changed on the assets, it was rebuilds from scratch, even if there were no changes.\r\n\r\nThis change uses an md5 of the _uncompiled source_ contents as the key for a module, and determines if a new cache should be saved or if the existing cache should not be used by examining the contents of the module in question.\r\n\r\nOpen to comments and feedback - thanks!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mzgoddard/hard-source-webpack-plugin/issues/comments/252776788","html_url":"https://github.com/mzgoddard/hard-source-webpack-plugin/pull/45#issuecomment-252776788","issue_url":"https://api.github.com/repos/mzgoddard/hard-source-webpack-plugin/issues/45","id":252776788,"user":{"login":"biilmann","id":6515,"avatar_url":"https://avatars.githubusercontent.com/u/6515?v=3","gravatar_id":"","url":"https://api.github.com/users/biilmann","html_url":"https://github.com/biilmann","followers_url":"https://api.github.com/users/biilmann/followers","following_url":"https://api.github.com/users/biilmann/following{/other_user}","gists_url":"https://api.github.com/users/biilmann/gists{/gist_id}","starred_url":"https://api.github.com/users/biilmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biilmann/subscriptions","organizations_url":"https://api.github.com/users/biilmann/orgs","repos_url":"https://api.github.com/users/biilmann/repos","events_url":"https://api.github.com/users/biilmann/events{/privacy}","received_events_url":"https://api.github.com/users/biilmann/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T23:58:46Z","updated_at":"2016-10-10T23:58:46Z","body":"This is something we've had several requests around at [Netlify](https://www.netlify.com) to support incremental builds. Hope this gets merged in since it would make supporting incremental builds much simpler..."}}
{"actor":{"display_login":"biilmann"}}