{"action":"created","issue":{"url":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/274","labels_url":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/274/comments","events_url":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/274/events","html_url":"https://github.com/kriasoft/react-starter-kit/issues/274","id":110109036,"number":274,"title":"CSS Modules and BrowserSync","user":{"login":"fingermark","id":984414,"avatar_url":"https://avatars.githubusercontent.com/u/984414?v=3","gravatar_id":"","url":"https://api.github.com/users/fingermark","html_url":"https://github.com/fingermark","followers_url":"https://api.github.com/users/fingermark/followers","following_url":"https://api.github.com/users/fingermark/following{/other_user}","gists_url":"https://api.github.com/users/fingermark/gists{/gist_id}","starred_url":"https://api.github.com/users/fingermark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fingermark/subscriptions","organizations_url":"https://api.github.com/users/fingermark/orgs","repos_url":"https://api.github.com/users/fingermark/repos","events_url":"https://api.github.com/users/fingermark/events{/privacy}","received_events_url":"https://api.github.com/users/fingermark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T21:53:29Z","updated_at":"2015-10-07T15:04:23Z","closed_at":null,"body":"@koistya I'm trying to get CSS Modules working with BrowserSync in a fork of your starter kit:  https://github.com/fingermark/react-starter-kit/commit/79458ee4ef108d5440bb8019117939d15a594c03\r\n\r\nThe problem I'm having is with BrowserSync picking up the changes, so I had to make use of `module.hot` detection.  First, I'm not sure if that's correct.  Second, after you make the change and the browser picks it up, it won't \"stick\" after you navigate away and come back.  I don't understand your use of `style-loader`'s `use` and `unuse` to proceed.\r\n\r\nAny ideas how I can fix this.  Also, keeping this around in case anyone else is interested in CSS Modules.\r\n\r\nNote that I only applied this to the ContactPage."},"comment":{"url":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/comments/146223021","html_url":"https://github.com/kriasoft/react-starter-kit/issues/274#issuecomment-146223021","issue_url":"https://api.github.com/repos/kriasoft/react-starter-kit/issues/274","id":146223021,"user":{"login":"fingermark","id":984414,"avatar_url":"https://avatars.githubusercontent.com/u/984414?v=3","gravatar_id":"","url":"https://api.github.com/users/fingermark","html_url":"https://github.com/fingermark","followers_url":"https://api.github.com/users/fingermark/followers","following_url":"https://api.github.com/users/fingermark/following{/other_user}","gists_url":"https://api.github.com/users/fingermark/gists{/gist_id}","starred_url":"https://api.github.com/users/fingermark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fingermark/subscriptions","organizations_url":"https://api.github.com/users/fingermark/orgs","repos_url":"https://api.github.com/users/fingermark/repos","events_url":"https://api.github.com/users/fingermark/events{/privacy}","received_events_url":"https://api.github.com/users/fingermark/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T15:04:23Z","updated_at":"2015-10-07T15:04:23Z","body":"It looks like the issue is not specific to the CSS Modules addition I made, but is like that with the current react-starter-kit version.\r\n\r\nIf I make a CSS update.  BrowserSync will apply the change.  Once I navigate away and come back (through link clicking), I get the old CSS.\r\n\r\nShould probably open this up in a separate ticket.  Let me know if that's necessary"}}