2

In Chrome, is there any way to manually trigger a background sync for testing/development purposes?

mjs
  • 63,493
  • 27
  • 91
  • 122

2 Answers2

2

You can now use a force sync in developer tools in Chrome on your service worker.

Go Dev Tools --> Application --> Service Worker and you will see Sync button and next to it a space to write commands.

0

There's no way to do this in Chrome right now (April 2016). Follow this bug for updates.

mjs
  • 63,493
  • 27
  • 91
  • 122