From d757f0ac6722880c56ee9eb38938ac46587727ec Mon Sep 17 00:00:00 2001 From: Omair Vaiyani Date: Sat, 10 Feb 2018 13:35:17 +0000 Subject: [PATCH] Troubleshooting section on service workers --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c1c1f9b0a..30801853c 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,6 @@ You can also specify the port (default is 4200): ``` ember serve --port 8088 ``` - See `ember help` for more. ### Disabling FastBoot with `ember serve` @@ -595,6 +594,10 @@ are using any versions between v8.0 and v8.4 we would recommend upgrading to at For any versions prior to 6.4 the previous version of this documentation is still valid. Please follow those instructions [here](https://github.com/ember-fastboot/ember-cli-fastboot/tree/v1.0.4#developer-tools) +### Service Workers + +[Service workers](https://developers.google.com/web/fundamentals/primers/service-workers/) should be [disabled](https://github.com/ember-fastboot/ember-cli-fastboot/issues/572#issuecomment-364468056) for development builds, otherwise your app may not be served via FastBoot. Instructions on how to do this for [ember-service-worker](http://ember-service-worker.com/) can be found [here](http://ember-service-worker.com/documentation/configuration/#disabling-the-service-worker). + ## Tests Run the automated tests by running `npm test`.