File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -79,19 +79,24 @@ $ git push -u <remote name> HEAD
79
79
80
80
## {% linkable_title Development %}
81
81
82
- While you are developing, you need to have gulp running to watch the source files for changes and build when necessary.
82
+ If you are changing ` html ` files under ` /src ` or ` /panels ` - just reload the page in your browser to see changes.
83
+ If you are changing javascript files under ` /js ` you need to have gulp running to watch the source files for changes and build when necessary.
83
84
84
85
``` bash
85
86
$ yarn run dev-watch
86
87
```
87
88
88
- The source code for the frontend can be found in two different directories:
89
+ The source code for the frontend can be found in different directories:
89
90
90
91
- UI: ` /home-assistant-polymer/src/ `
91
92
- Panels: ` /home-assistant-polymer/panels/ `
93
+ - Javascript code: ` /home-assistant-polymer/js/ `
92
94
93
95
# {% linkable_title Building the Polymer frontend %}
94
96
95
- Building a new version of the frontend is as simple as running ` script/build_frontend ` .
97
+ Building a new version of the frontend is as simple as running ` script/build_frontend ` .
98
+ To use a built version package it: ` python setup.py sdist `
99
+ Install it: ` pip3 install dist/home-assistant-frontend-xxxxxxxx.0.tar.gz --upgrade `
100
+ Run Home Assistant without trying to reinstall production package: ` hass --skip-pip `
96
101
97
102
[ hass-polymer ] : https://github.com/home-assistant/home-assistant-polymer
You can’t perform that action at this time.
0 commit comments