Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
humphd committed Apr 6, 2016
1 parent f28a3b6 commit 46deab8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,12 @@ code contributions, reviewing pull requests, and providing feedback and suggesti
direction of the project.

Even if you're not a committer, you're still welcome to give feedback on any pull request!

## Adding New Files

When run in production (i.e., the resulting `dist/` dir from running `grunt build-browser`),
Bramble uses a Service Worker to cache and serve the app offline. In order to do this, the
`swPrecache` grunt task generates a Service Worker ready to cache and serve all the necessary
files. This file list is generated statically at build time based on the contents of the
`sw-cache-file-list.json` file. If you add new files (e.g., a new default extension), make sure
you add URL entries to this cache list.

0 comments on commit 46deab8

Please sign in to comment.