Paulus Schoutsen cb0db95abe
Build hassio panel (#1184)
* Fix hass.io panel

* Add develop scripts

* Build hassio on Travis
2018-05-16 23:03:48 -04:00

21 lines
354 B
Bash
Executable File

#!/bin/sh
# Run the frontend development server
# Stop on errors
set -e
OUTPUT_DIR=hass_frontend
rm -rf $OUTPUT_DIR
cp -r public $OUTPUT_DIR
./node_modules/.bin/gulp build-translations authorize authorize-es5
# Icons
script/update_mdi.py
# Stub the service worker
touch $OUTPUT_DIR/service_worker.js
./node_modules/.bin/webpack --watch --progress