You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
260 B

  1. #!/usr/bin/env bash
  2. set -o errexit
  3. root="$(dirname "$0")/.."
  4. frontend="${root}/app/server/static"
  5. (
  6. cd "${frontend}"
  7. if [[ ! -d node_modules/.bin ]]; then
  8. echo "Installing dependencies"
  9. npm install
  10. fi
  11. echo "Starting webpack"
  12. npm start
  13. )