{"action":"created","issue":{"url":"https://api.github.com/repos/Va1/browser-sync-webpack-plugin/issues/51","repository_url":"https://api.github.com/repos/Va1/browser-sync-webpack-plugin","labels_url":"https://api.github.com/repos/Va1/browser-sync-webpack-plugin/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/Va1/browser-sync-webpack-plugin/issues/51/comments","events_url":"https://api.github.com/repos/Va1/browser-sync-webpack-plugin/issues/51/events","html_url":"https://github.com/Va1/browser-sync-webpack-plugin/issues/51","id":246591884,"number":51,"title":"Does not inject css - always does page refresh","user":{"login":"dmitrybelyakov","id":178866,"avatar_url":"https://avatars3.githubusercontent.com/u/178866?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitrybelyakov","html_url":"https://github.com/dmitrybelyakov","followers_url":"https://api.github.com/users/dmitrybelyakov/followers","following_url":"https://api.github.com/users/dmitrybelyakov/following{/other_user}","gists_url":"https://api.github.com/users/dmitrybelyakov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrybelyakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrybelyakov/subscriptions","organizations_url":"https://api.github.com/users/dmitrybelyakov/orgs","repos_url":"https://api.github.com/users/dmitrybelyakov/repos","events_url":"https://api.github.com/users/dmitrybelyakov/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrybelyakov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-30T15:51:56Z","updated_at":"2017-08-04T09:12:33Z","closed_at":null,"body":"Hi!\r\n\r\nI can't seem to get CSS injections working - it just keeps refreshing the page."},"comment":{"url":"https://api.github.com/repos/Va1/browser-sync-webpack-plugin/issues/comments/320199492","html_url":"https://github.com/Va1/browser-sync-webpack-plugin/issues/51#issuecomment-320199492","issue_url":"https://api.github.com/repos/Va1/browser-sync-webpack-plugin/issues/51","id":320199492,"user":{"login":"dmitrybelyakov","id":178866,"avatar_url":"https://avatars3.githubusercontent.com/u/178866?v=4","gravatar_id":"","url":"https://api.github.com/users/dmitrybelyakov","html_url":"https://github.com/dmitrybelyakov","followers_url":"https://api.github.com/users/dmitrybelyakov/followers","following_url":"https://api.github.com/users/dmitrybelyakov/following{/other_user}","gists_url":"https://api.github.com/users/dmitrybelyakov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrybelyakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrybelyakov/subscriptions","organizations_url":"https://api.github.com/users/dmitrybelyakov/orgs","repos_url":"https://api.github.com/users/dmitrybelyakov/repos","events_url":"https://api.github.com/users/dmitrybelyakov/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrybelyakov/received_events","type":"User","site_admin":false},"created_at":"2017-08-04T09:12:33Z","updated_at":"2017-08-04T09:12:33Z","body":"Hi, @malinushj \r\n\r\nThanks for the advise - I tried your branch instead, but I'm getting pretty weird results: the injection happens only every other time. I've put some debug code in your module to log what assets are being compiled and the value of `isCSS` variable that triggers your logic. I am getting alternating behaviour whenever i change my sass file:\r\n\r\n  * CSS asset is being reported, injection happens\r\n  * Main JS asset is being reported, browser reloads\r\n  * CSS asset is being reported, injection happens\r\n  * etc\r\n\r\nThis is super weird and I'm pretty confused at that point. My setup is pretty straightforward:\r\ncss!postcss!sass loaders, and extract text plugin. Im importing my main scss file into my main javascript file as a module. \r\n"}}
{"actor":{"display_login":"dmitrybelyakov"}}