{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer-cli/issues/345","repository_url":"https://api.github.com/repos/Polymer/polymer-cli","labels_url":"https://api.github.com/repos/Polymer/polymer-cli/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer-cli/issues/345/comments","events_url":"https://api.github.com/repos/Polymer/polymer-cli/issues/345/events","html_url":"https://github.com/Polymer/polymer-cli/issues/345","id":169742712,"number":345,"title":"[bug] staticFileGlobs in sw-precache-config not process in build","user":{"login":"AliMD","id":697913,"avatar_url":"https://avatars.githubusercontent.com/u/697913?v=3","gravatar_id":"","url":"https://api.github.com/users/AliMD","html_url":"https://github.com/AliMD","followers_url":"https://api.github.com/users/AliMD/followers","following_url":"https://api.github.com/users/AliMD/following{/other_user}","gists_url":"https://api.github.com/users/AliMD/gists{/gist_id}","starred_url":"https://api.github.com/users/AliMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AliMD/subscriptions","organizations_url":"https://api.github.com/users/AliMD/orgs","repos_url":"https://api.github.com/users/AliMD/repos","events_url":"https://api.github.com/users/AliMD/events{/privacy}","received_events_url":"https://api.github.com/users/AliMD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-06T11:33:00Z","updated_at":"2016-08-23T22:18:25Z","closed_at":null,"body":"### Description\r\n`staticFileGlobs` in `sw-precache-config.js` not process in build and compiled `service-worker.js` not contain these files!\r\n\r\n### Versions & Environment\r\n- Polymer CLI: 0.13.0\r\n- node: 6.3.1 and 4.4.7\r\n- Operating System: OS X 10.11.6\r\n\r\n#### Steps to Reproduce\r\n1. edit `sw-precache-config.js`\r\n```javascript\r\nmodule.exports = {\r\n  staticFileGlobs: [\r\n    '/index.html',\r\n    '/src/manifest.json',\r\n    '/bower_components/webcomponentsjs/webcomponents-lite.min.js',\r\n    '/src/images/*'\r\n  ]\r\n};\r\n```\r\n3. polymer build\r\n\r\n#### Expected Results\r\ncompiled `service-worker.js` in PrecacheConfig array contain staticFileGlobs files\r\nor in browser app work fully offline in second visit\r\n\r\n#### Actual Results\r\napp not work offline for staticFileGlobs files and images or manifest load every time from net or fail in offline mode!\r\n\r\nOther auto detect files and components work offline"},"comment":{"url":"https://api.github.com/repos/Polymer/polymer-cli/issues/comments/241898372","html_url":"https://github.com/Polymer/polymer-cli/issues/345#issuecomment-241898372","issue_url":"https://api.github.com/repos/Polymer/polymer-cli/issues/345","id":241898372,"user":{"login":"FredKSchott","id":622227,"avatar_url":"https://avatars.githubusercontent.com/u/622227?v=3","gravatar_id":"","url":"https://api.github.com/users/FredKSchott","html_url":"https://github.com/FredKSchott","followers_url":"https://api.github.com/users/FredKSchott/followers","following_url":"https://api.github.com/users/FredKSchott/following{/other_user}","gists_url":"https://api.github.com/users/FredKSchott/gists{/gist_id}","starred_url":"https://api.github.com/users/FredKSchott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FredKSchott/subscriptions","organizations_url":"https://api.github.com/users/FredKSchott/orgs","repos_url":"https://api.github.com/users/FredKSchott/repos","events_url":"https://api.github.com/users/FredKSchott/events{/privacy}","received_events_url":"https://api.github.com/users/FredKSchott/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T22:18:25Z","updated_at":"2016-08-23T22:18:25Z","body":"Thanks for reporting @AliMD & all"}}
{"actor":{"display_login":"FredKSchott"}}