Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docker/entrypoints/entrypoint_dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ cd /repo/frontend

# pnpm run build:dev & # use this for debugging with ios, port 5001 (no cors allowed)
pnpm run dev & # normal dev, port 5173
vite_pid=$!
sleep 10 # Give Vite a moment to start
if ! kill -0 $vite_pid 2>/dev/null; then
echo "starting vite failed, will try to fix this by installing dependencies ..."
pnpm install
pnpm run dev &
fi


cd /repo

Expand Down
Loading