The documentation would suggest that after I perform an ember build, I should see the event listener added to the generated service worker at dist/browser-push-service-worker.js, however it just appears to be a renamed version of the default service-worker.js.
@hronik1 is this for an Ember app or some other kind of app? You shouldn't need to specify broccoli-serviceworker options in a Brocfile for an Ember app.
Per the README, "If you wish to add your own logic to the generated service worker, you can place that code in .js files in app/serviceworkers."
I have the following as the last entry in my Brocfile.js:
As well as the following under app/serviceworkers/browser-push-service-worker.js:
The documentation would suggest that after I perform an
ember build
, I should see the event listener added to the generated service worker at dist/browser-push-service-worker.js, however it just appears to be a renamed version of the default service-worker.js.