{"action":"created","issue":{"url":"https://api.github.com/repos/service-mocker/service-mocker/issues/36","repository_url":"https://api.github.com/repos/service-mocker/service-mocker","labels_url":"https://api.github.com/repos/service-mocker/service-mocker/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/service-mocker/service-mocker/issues/36/comments","events_url":"https://api.github.com/repos/service-mocker/service-mocker/issues/36/events","html_url":"https://github.com/service-mocker/service-mocker/issues/36","id":247426433,"number":36,"title":"Auto reload with webpack","user":{"login":"caesarsol","id":1799710,"avatar_url":"https://avatars1.githubusercontent.com/u/1799710?v=4","gravatar_id":"","url":"https://api.github.com/users/caesarsol","html_url":"https://github.com/caesarsol","followers_url":"https://api.github.com/users/caesarsol/followers","following_url":"https://api.github.com/users/caesarsol/following{/other_user}","gists_url":"https://api.github.com/users/caesarsol/gists{/gist_id}","starred_url":"https://api.github.com/users/caesarsol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesarsol/subscriptions","organizations_url":"https://api.github.com/users/caesarsol/orgs","repos_url":"https://api.github.com/users/caesarsol/repos","events_url":"https://api.github.com/users/caesarsol/events{/privacy}","received_events_url":"https://api.github.com/users/caesarsol/received_events","type":"User","site_admin":false},"labels":[{"id":661026908,"url":"https://api.github.com/repos/service-mocker/service-mocker/labels/sw-loader","name":"sw-loader","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-08-02T15:19:24Z","updated_at":"2017-08-03T13:23:47Z","closed_at":null,"body":"## Environment\r\n\r\n- Browser: Chrome 59\r\n- Version of service-mocker: 2.0.0\r\n\r\nI'm not getting webpack to refresh the ServiceWorker code when I save the file.\r\n\r\nIs it intended behavior or am I misconfiguring?\r\n\r\nUsing `sw-loader` with the code:\r\n\r\n```js\r\nconst serverMockUrl = require('sw-loader!server-mock')\r\nconst { createClient } = require('service-mocker/client')\r\ncreateClient(serverMockUrl).ready.then(() => console.log('ready'))\r\n```\r\n\r\nThanks! \r\n\r\nVery cool idea for this package by the way 😉  Keep up the good work!"},"comment":{"url":"https://api.github.com/repos/service-mocker/service-mocker/issues/comments/319967578","html_url":"https://github.com/service-mocker/service-mocker/issues/36#issuecomment-319967578","issue_url":"https://api.github.com/repos/service-mocker/service-mocker/issues/36","id":319967578,"user":{"login":"idiotWu","id":6022672,"avatar_url":"https://avatars1.githubusercontent.com/u/6022672?v=4","gravatar_id":"","url":"https://api.github.com/users/idiotWu","html_url":"https://github.com/idiotWu","followers_url":"https://api.github.com/users/idiotWu/followers","following_url":"https://api.github.com/users/idiotWu/following{/other_user}","gists_url":"https://api.github.com/users/idiotWu/gists{/gist_id}","starred_url":"https://api.github.com/users/idiotWu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idiotWu/subscriptions","organizations_url":"https://api.github.com/users/idiotWu/orgs","repos_url":"https://api.github.com/users/idiotWu/repos","events_url":"https://api.github.com/users/idiotWu/events{/privacy}","received_events_url":"https://api.github.com/users/idiotWu/received_events","type":"User","site_admin":false},"created_at":"2017-08-03T13:23:47Z","updated_at":"2017-08-03T13:23:47Z","body":"Currently it doesn't. But I think we can use `ServiceWorkerRegistration.update()` method to achieve this if needed."}}
{"actor":{"display_login":"idiotWu"}}