{"action":"opened","issue":{"url":"https://api.github.com/repos/firebase/firebase-tools/issues/238","repository_url":"https://api.github.com/repos/firebase/firebase-tools","labels_url":"https://api.github.com/repos/firebase/firebase-tools/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/firebase/firebase-tools/issues/238/comments","events_url":"https://api.github.com/repos/firebase/firebase-tools/issues/238/events","html_url":"https://github.com/firebase/firebase-tools/issues/238","id":192859353,"number":238,"title":"Web Starter Kit after 'firebase deploy' : No Service Worker - OK on localhost","user":{"login":"bonatoc","id":956531,"avatar_url":"https://avatars.githubusercontent.com/u/956531?v=3","gravatar_id":"","url":"https://api.github.com/users/bonatoc","html_url":"https://github.com/bonatoc","followers_url":"https://api.github.com/users/bonatoc/followers","following_url":"https://api.github.com/users/bonatoc/following{/other_user}","gists_url":"https://api.github.com/users/bonatoc/gists{/gist_id}","starred_url":"https://api.github.com/users/bonatoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonatoc/subscriptions","organizations_url":"https://api.github.com/users/bonatoc/orgs","repos_url":"https://api.github.com/users/bonatoc/repos","events_url":"https://api.github.com/users/bonatoc/events{/privacy}","received_events_url":"https://api.github.com/users/bonatoc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-01T14:21:09Z","updated_at":"2016-12-01T14:21:09Z","closed_at":null,"body":"Been following these instructions with no problem, except localhost initial mismatching, fixed after killing all processes by quitting the console (OS X) :\r\n\r\n[Instructions to Firebase deploy](https://github.com/google/web-starter-kit/blob/master/docs/deploy-firebase.md).\r\n\r\nAnd these, which are the same, [more detailed](https://codelabs.developers.google.com/codelabs/polymer-firebase-pwa/index.html?index=..%2F..%2Findex#2).\r\n\r\nThe service worker is entirely absent after pushing on Firebase hosting.\r\nEverything is fine, except there's no service worker at all visible in Chrome Dev Tools.\r\nWhen testing for offline-first, it fails.\r\n\r\nlocalhost behaved strangely at some point, placing the server worker on port :3000, and no SW on port:3001. After killing all processes and restarting gulp serve and gulp serve:dist, they finally worked as expected, without SW @ :3000, and working SW @ :3001, with offline mode working (SW doing its job), as expected.\r\n\r\n\r\nWhy is the Service Worker entirely absent once pushed on Firebase hosting? Can someone confirm there's no SW served from [https://portfolio-f03e3.firebaseapp.com/#/](https://portfolio-f03e3.firebaseapp.com/#/) ? Is anyone able to reproduce this issue?\r\n\r\n![capture d ecran 2016-12-01 a 15 07 36](https://cloud.githubusercontent.com/assets/956531/20797086/a8d9bbac-b7d9-11e6-9f5f-327a19453d3e.jpg)\r\n\r\n![capture d ecran 2016-12-01 a 15 07 55](https://cloud.githubusercontent.com/assets/956531/20797095/b6d110e8-b7d9-11e6-994f-f5f869432b9d.jpg)\r\n\r\n\r\nPS : the console error icon is a 404 on a font file."}}
{"actor":{"display_login":"bonatoc"}}