mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-24 06:02:36 +03:00
13 lines
260 B
Bash
13 lines
260 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -euo pipefail
|
||
|
|
||
|
# start a web server in the background and tear it down when exiting
|
||
|
./script/serve.sh public &
|
||
|
SERVER_PID=$!
|
||
|
cleanup() {
|
||
|
kill "$SERVER_PID"
|
||
|
}
|
||
|
trap cleanup EXIT INT
|
||
|
|
||
|
node script/axe-puppeteer.js http://localhost:8000
|