{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/680","labels_url":"https://api.github.com/repos/webpack/webpack/issues/680/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/680/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/680/events","html_url":"https://github.com/webpack/webpack/issues/680","id":54003141,"number":680,"title":"Can we allow multiple module.hot.accept calls in one file?","user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-11T20:11:12Z","updated_at":"2015-01-11T20:18:03Z","closed_at":null,"body":"If I'm using React Hot Loader (which adds `module.hot.accept` at the end), it seems like I can no longer `module.hot.accept` dependencies on my own in the source.\r\n\r\nFor example, I was trying to add hot-reload for [jss](https://github.com/jsstyles/jss) stylesheets via custom `module.hot.accept` code for a dependency, and it didn't work.\r\n\r\nCan we allow several `module.hot.accept` calls in one file? Can't accepting own module & accepting a dependency coexist together?"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/69509443","html_url":"https://github.com/webpack/webpack/issues/680#issuecomment-69509443","issue_url":"https://api.github.com/repos/webpack/webpack/issues/680","id":69509443,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T20:18:03Z","updated_at":"2015-01-11T20:18:03Z","body":"Actually just allowing several `dispose` handlers to be registered independently would help here."}}