Files
immich/.devcontainer/server/container-start-backend.sh
Min Idzelis 839db1e2c4 pnpm
2025-06-24 21:37:42 +00:00

18 lines
410 B
Bash
Executable File

#!/bin/bash
# shellcheck source=common.sh
# shellcheck disable=SC1091
source /immich-devcontainer/container-common.sh
log "Starting Nest API Server"
log ""
cd "${IMMICH_WORKSPACE}/server" || (
log "Immich workspace not found"
exit 1
)
while true; do
run_cmd npx nest start --debug "0.0.0.0:9230" --watch
log "Nest API Server crashed with exit code $?. Respawning in 3s ..."
sleep 3
done