Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

precache all assets in a directory #16

Closed
deepan83 opened this issue Jan 10, 2016 · 1 comment
Closed

precache all assets in a directory #16

deepan83 opened this issue Jan 10, 2016 · 1 comment

Comments

@deepan83
Copy link

Is there a way to specify inclusion of all assets in a directory through a glob for example in the preCacheURLs definition?

@jkleinsc
Copy link
Owner

If you are using broccoli serviceworker for an Ember app, then everything in the build directory (including the assets directory) is automatically precached. If you need to precache a different directory right now the only way to do it would be to individually list the files to precache. The ability to specify a directory through a glob/regex would be a good feature to add.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants