{"action":"created","issue":{"url":"https://api.github.com/repos/rollup/rollup/issues/50","labels_url":"https://api.github.com/repos/rollup/rollup/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/rollup/rollup/issues/50/comments","events_url":"https://api.github.com/repos/rollup/rollup/issues/50/events","html_url":"https://github.com/rollup/rollup/issues/50","id":96131420,"number":50,"title":"Is hot-loading in the roadmap?","user":{"login":"chcokr","id":3670967,"avatar_url":"https://avatars.githubusercontent.com/u/3670967?v=3","gravatar_id":"","url":"https://api.github.com/users/chcokr","html_url":"https://github.com/chcokr","followers_url":"https://api.github.com/users/chcokr/followers","following_url":"https://api.github.com/users/chcokr/following{/other_user}","gists_url":"https://api.github.com/users/chcokr/gists{/gist_id}","starred_url":"https://api.github.com/users/chcokr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chcokr/subscriptions","organizations_url":"https://api.github.com/users/chcokr/orgs","repos_url":"https://api.github.com/users/chcokr/repos","events_url":"https://api.github.com/users/chcokr/events{/privacy}","received_events_url":"https://api.github.com/users/chcokr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-20T18:45:23Z","updated_at":"2015-07-21T20:42:26Z","closed_at":null,"body":"Thanks for your hard work on this. I'm actually surprised other bundlers like Webpack hasn't yet figured out the \"let's exclude stuff we don't need\" idea.\r\n\r\nOne of the most winning aspects of Webpack is hot module replacement. Will Rollup have to worry about hot reloading? Or is that something Rollup can leave off to Webpack? Just got curious."},"comment":{"url":"https://api.github.com/repos/rollup/rollup/issues/comments/123471527","html_url":"https://github.com/rollup/rollup/issues/50#issuecomment-123471527","issue_url":"https://api.github.com/repos/rollup/rollup/issues/50","id":123471527,"user":{"login":"chcokr","id":3670967,"avatar_url":"https://avatars.githubusercontent.com/u/3670967?v=3","gravatar_id":"","url":"https://api.github.com/users/chcokr","html_url":"https://github.com/chcokr","followers_url":"https://api.github.com/users/chcokr/followers","following_url":"https://api.github.com/users/chcokr/following{/other_user}","gists_url":"https://api.github.com/users/chcokr/gists{/gist_id}","starred_url":"https://api.github.com/users/chcokr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chcokr/subscriptions","organizations_url":"https://api.github.com/users/chcokr/orgs","repos_url":"https://api.github.com/users/chcokr/repos","events_url":"https://api.github.com/users/chcokr/events{/privacy}","received_events_url":"https://api.github.com/users/chcokr/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T20:42:26Z","updated_at":"2015-07-21T20:42:26Z","body":"Hmm, trying to organize what I'm learning from ya. Please check my understanding for me:\r\n\r\n- DCE works well in Closure thanks to Closure-specific content and code\r\n- But it doesn't work well outside Closure-specific code\r\n- So we need to think in a fundamentally different way. Instead of getting rid of unused code, do the opposite thing: include code that does get used.\r\n\r\nIs that correct? If so, I wonder why Closure didn't choose LCI over DCE. What are the pros and cons of each approach?\r\n\r\nAlso at this point it sounds like HMR and code motion are both indeed possible in Rollup, right? Someone just has to do the work :)"}}