diff --git a/docs/frontend_development.md b/docs/frontend_development.md index b656e52f..8030d90e 100644 --- a/docs/frontend_development.md +++ b/docs/frontend_development.md @@ -56,6 +56,22 @@ $ nvm use $ script/develop ``` +Make sure you have cache disabled and correct settings to avoid stale content: + +> Instructions are for Google Chrome + +1. Disable cache by ticking the box in `Network` > `Disable cache` + +

+ +

+ +2. Enable Bypass for network in `Application` > `Service Workers` > `Bypass for network` + +

+ +

+ ## Creating pull requests If you're planning on issuing a PR back to the Home Assistant codebase you need to fork the polymer project and add your fork as a remote to the Home Assistant Polymer repo. diff --git a/website/static/img/en/development/bypass-for-network.png b/website/static/img/en/development/bypass-for-network.png new file mode 100644 index 00000000..28039360 Binary files /dev/null and b/website/static/img/en/development/bypass-for-network.png differ diff --git a/website/static/img/en/development/disable-cache.png b/website/static/img/en/development/disable-cache.png new file mode 100644 index 00000000..df9ed481 Binary files /dev/null and b/website/static/img/en/development/disable-cache.png differ