mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-08-28 08:35:57 +00:00
feat(chrome): hand snapshots to context mode
This commit is contained in:
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Serve the test suite on a fixed local port so pi-chrome can drive it.
|
||||
cd "$(dirname "$0")"
|
||||
PORT="${PORT:-8765}"
|
||||
echo "serving http://127.0.0.1:${PORT}/"
|
||||
exec python3 -m http.server "${PORT}" --bind 127.0.0.1
|
||||
Reference in New Issue
Block a user