{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss-import/issues/40","labels_url":"https://api.github.com/repos/postcss/postcss-import/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss-import/issues/40/comments","events_url":"https://api.github.com/repos/postcss/postcss-import/issues/40/events","html_url":"https://github.com/postcss/postcss-import/issues/40","id":73256510,"number":40,"title":"Postcss-import combined with react hotloader","user":{"login":"0nn0","id":860132,"avatar_url":"https://avatars.githubusercontent.com/u/860132?v=3","gravatar_id":"","url":"https://api.github.com/users/0nn0","html_url":"https://github.com/0nn0","followers_url":"https://api.github.com/users/0nn0/followers","following_url":"https://api.github.com/users/0nn0/following{/other_user}","gists_url":"https://api.github.com/users/0nn0/gists{/gist_id}","starred_url":"https://api.github.com/users/0nn0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0nn0/subscriptions","organizations_url":"https://api.github.com/users/0nn0/orgs","repos_url":"https://api.github.com/users/0nn0/repos","events_url":"https://api.github.com/users/0nn0/events{/privacy}","received_events_url":"https://api.github.com/users/0nn0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-05T09:14:23Z","updated_at":"2015-05-05T09:36:29Z","closed_at":null,"body":"Hey there.\r\n\r\nHas anyone gotten auto-reload (ReactHotloader) working using on imported css files using the postcss-import plugin? The problem I'm having is that any changes made in css files that get imported by a main css file do not to directly show up on screen.\r\n\r\nI'd like to figure out whether this is an issue caused by my own setup, the import-plugin, ReactHotLoader, and whether there is a good solution for this.\r\n\r\nI've created an example case in the following repo: https://github.com/0nn0/hotloader-postcss-imports/\r\n\r\nYou can produce the problem using the following steps.\r\n1. Check out Branch postcss-import-pluing\r\n2. Run `npm install`\r\n3. Run `npm run start`\r\n4. Open `http://localhost:3000/`\r\n5. Change background-color in styles.css (change will be directly visible)\r\n6. Change background-color in component.css (change will NOT be visible until you restart the app)\r\n\r\nIf I do not use the postcss-import plugin, then none of the postcss-plugins set in the webpack config will be applied on any of the to be imported css files, in this case components.css.\r\n\r\nAny help would be much appreciated.\r\n"},"comment":{"url":"https://api.github.com/repos/postcss/postcss-import/issues/comments/99010634","html_url":"https://github.com/postcss/postcss-import/issues/40#issuecomment-99010634","issue_url":"https://api.github.com/repos/postcss/postcss-import/issues/40","id":99010634,"user":{"login":"0nn0","id":860132,"avatar_url":"https://avatars.githubusercontent.com/u/860132?v=3","gravatar_id":"","url":"https://api.github.com/users/0nn0","html_url":"https://github.com/0nn0","followers_url":"https://api.github.com/users/0nn0/followers","following_url":"https://api.github.com/users/0nn0/following{/other_user}","gists_url":"https://api.github.com/users/0nn0/gists{/gist_id}","starred_url":"https://api.github.com/users/0nn0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0nn0/subscriptions","organizations_url":"https://api.github.com/users/0nn0/orgs","repos_url":"https://api.github.com/users/0nn0/repos","events_url":"https://api.github.com/users/0nn0/events{/privacy}","received_events_url":"https://api.github.com/users/0nn0/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T09:36:29Z","updated_at":"2015-05-05T09:36:29Z","body":"@MoOx It's in the postcss-import-plugin branch\r\n\r\nhttps://github.com/0nn0/hotloader-postcss-imports/tree/postcss-import-plugin"}}