core/scripts/dev_js

12 lines
248 B
Plaintext
Executable File

# Builds the JS for developing, rebuilds when files change
# If current pwd is scripts, go 1 up.
if [ ${PWD##*/} == "scripts" ]; then
cd ..
fi
cd homeassistant/components/frontend/www_static/polymer/home-assistant-js
npm install
npm run dev