develop 283 B

12345678910111213141516
  1. # Stop on errors
  2. set -e
  3. cd "$(dirname "$0")/.."
  4. rm -rf dist
  5. # Quit all background tasks when script exits
  6. trap "kill 0" EXIT
  7. # Run tsc once as rollup expects those files
  8. npm exec -- tsc || true
  9. npm exec -- serve -p 5001 &
  10. npm exec -- tsc --watch &
  11. npm exec -- rollup -c --watch