Files
Immich/server/bin/immich-dev
T
2026-11-04 20:47:08 +03:00

13 lines
430 B
Bash
Executable File

#!/usr/bin/env bash
if [[ "$IMMICH_ENV" == "production" ]]; then
echo "This command can only be run in development environments"
exit 1
fi
cd /usr/src/app || exit
pnpm --filter @immich/plugin-sdk build
pnpm --filter immich install
SHARP_FORCE_GLOBAL_LIBVIPS=true pnpm --config.verify-deps-before-run=false --dir server/node_modules/sharp run build
pnpm --filter immich exec nest start --debug "0.0.0.0:9230" --watch -- "$@"