2
votes

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

2

2 Answers

2
votes

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
votes

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