immich/server/bin/immich-dev

10 lines
236 B
Text
Raw Normal View History

#!/usr/bin/env bash
if [ "$IMMICH_ENV" != "development" ]; then
echo "This command can only be run in development environments"
exit 1
fi
cd /usr/src/app/server || exit 1
npm exec nest start --debug "0.0.0.0:9230" --watch -- "$@"