mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-02 02:57:23 +00:00
11 lines
349 B
Bash
Executable File
11 lines
349 B
Bash
Executable File
# Run server if its not running
|
|
if ! curl --output /dev/null --silent --head --fail http://localhost:31000
|
|
then
|
|
echo "Starting PlayWright Server"
|
|
PWDEBUG=console pnpm dlx playwright run-server --port 31000 &
|
|
|
|
# Wait for server to start
|
|
while ! curl --output /dev/null --silent --head --fail http://localhost:31000; do
|
|
sleep 0.2
|
|
done
|
|
fi |