{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/extract-text-webpack-plugin/issues/30","repository_url":"https://api.github.com/repos/webpack/extract-text-webpack-plugin","labels_url":"https://api.github.com/repos/webpack/extract-text-webpack-plugin/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/webpack/extract-text-webpack-plugin/issues/30/comments","events_url":"https://api.github.com/repos/webpack/extract-text-webpack-plugin/issues/30/events","html_url":"https://github.com/webpack/extract-text-webpack-plugin/issues/30","id":45092455,"number":30,"title":"Reloading extracted css with hot module replacement","user":{"login":"nickdima","id":614468,"avatar_url":"https://avatars.githubusercontent.com/u/614468?v=3","gravatar_id":"","url":"https://api.github.com/users/nickdima","html_url":"https://github.com/nickdima","followers_url":"https://api.github.com/users/nickdima/followers","following_url":"https://api.github.com/users/nickdima/following{/other_user}","gists_url":"https://api.github.com/users/nickdima/gists{/gist_id}","starred_url":"https://api.github.com/users/nickdima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickdima/subscriptions","organizations_url":"https://api.github.com/users/nickdima/orgs","repos_url":"https://api.github.com/users/nickdima/repos","events_url":"https://api.github.com/users/nickdima/events{/privacy}","received_events_url":"https://api.github.com/users/nickdima/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2014-10-07T10:38:29Z","updated_at":"2016-02-20T11:40:28Z","closed_at":"2014-11-07T20:41:59Z","body":"Is it possible to have hot module replacement for an extracted css file that I load via a css link tag in my html's head tag?\r\nI have HMR working for my javascript but not sure how to make it work for extracted css.\r\nThis is my css related config:\r\n``` coffeescript\r\nentry:\r\n    styles: ['webpack-dev-server/client?http://localhost:3001', 'webpack/hot/dev-server', './app.scss']\r\nloaders: [\r\n  {\r\n    test: /\\.scss$/\r\n    loader: ExtractTextPlugin.extract \"style-loader\", \"css-loader!sass-loader?\" + JSON.stringify\r\n      outputStyle: 'expanded'\r\n      includePaths: [\r\n        path.resolve __dirname, './app'\r\n        path.resolve __dirname, './bower_components'\r\n        require('node-bourbon').includePaths\r\n        path.resolve __dirname, './vendor/css'\r\n      ]\r\n  }\r\nplugins: [new ExtractTextPlugin \"css/#{nameBundle}.css\"]\r\n```"},"comment":{"url":"https://api.github.com/repos/webpack/extract-text-webpack-plugin/issues/comments/186576861","html_url":"https://github.com/webpack/extract-text-webpack-plugin/issues/30#issuecomment-186576861","issue_url":"https://api.github.com/repos/webpack/extract-text-webpack-plugin/issues/30","id":186576861,"user":{"login":"crtvhd","id":1754799,"avatar_url":"https://avatars.githubusercontent.com/u/1754799?v=3","gravatar_id":"","url":"https://api.github.com/users/crtvhd","html_url":"https://github.com/crtvhd","followers_url":"https://api.github.com/users/crtvhd/followers","following_url":"https://api.github.com/users/crtvhd/following{/other_user}","gists_url":"https://api.github.com/users/crtvhd/gists{/gist_id}","starred_url":"https://api.github.com/users/crtvhd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crtvhd/subscriptions","organizations_url":"https://api.github.com/users/crtvhd/orgs","repos_url":"https://api.github.com/users/crtvhd/repos","events_url":"https://api.github.com/users/crtvhd/events{/privacy}","received_events_url":"https://api.github.com/users/crtvhd/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T11:40:28Z","updated_at":"2016-02-20T11:40:28Z","body":"@ptahdunbar you just saved us a loooot of headache with https://github.com/webpack/extract-text-webpack-plugin/issues/30#issuecomment-125757853\r\nThis should definitely go into official docs\r\n👍"}}