Add frontend instructions to get JS changes into Polymer

This commit is contained in:
Paulus Schoutsen 2015-07-17 23:34:53 -07:00
parent e180f2e040
commit c85e9978f5
2 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit c51e7db48bfc094a461b63c3c47029fc31f04252
Subproject commit 1e601ac57f1afbc285a357bcb91e8c5d1af0b9f8

View File

@ -44,6 +44,8 @@ npm run js_dev
`npm run js_dev` will start the process that will ensure that your latest changes to the JavaScript files will be loaded when you refresh the page. This command has to be always running while working on home-assistant-js.
After your changes have been accepted into the `home-assistant-js` repository, we'll have to update Home Assistant Polymer to use the latest version. This can be done by updating `package.json`. Look for the line that contains `home-assistant-js` and update the SHA to the SHA of your commit.
# {% linkable_title Building the Polymer frontend %}
Building a new version of the frontend is as simple as running `scripts/build_frontend`. This fires off the following commands: