You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
The service worker only gets registered in production and when the https is used
What is the expected behavior?
I'd expect preact-cli to also register a service worker in development. On localhost, service workers are also supported without http, so why not? Web Fundamentals, MDN
If this is a feature request, what is motivation or use case for changing the behavior?
This would add the ability to test the service worker in development.
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
The service worker only gets registered in production and when the https is used
What is the expected behavior?
I'd expect preact-cli to also register a service worker in development. On localhost, service workers are also supported without http, so why not? Web Fundamentals, MDN
If this is a feature request, what is motivation or use case for changing the behavior?
This would add the ability to test the service worker in development.
https://github.com/developit/preact-cli/blob/master/src/lib/entry.js#L3
The text was updated successfully, but these errors were encountered: