#!/bin/bash
set -e
# compile main process code
cd ..
npm run compile
cd ./app
# compile renderer process code
# compile LESS and pack javascript
npm run gulp
# start app with dev flag
./node_modules/.bin/electron main.js -d