Update notification for service workers
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
addon
app
config
service-worker-registration
tests
vendor
.editorconfig
.ember-cli
.eslintrc.js
.gitignore
.npmignore
.prettierrc
.travis.yml
.watchmanconfig
LICENSE.md
README.md
ember-cli-build.js
index.js
package.json
testem.js

README.md

ember-service-worker-update-notify

Adds an {{service-worker-update-notify}} component which displays a reload link if the service-worker has found an update.

Overwrite the default message using the component in block form:

{{#service-worker-update-notify}}
  <a class="service-worker-update-notify" href="">
    A new version is available, click here to update.
  </a>
{{/service-worker-update-notify}}

Installation

  • ember install ember-service-worker-update-notify

Local installation

  • git clone <repository-url> this repository
  • cd ember-service-worker-update-notify
  • npm install

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.