"feat: simplify db push script by removing restart loop and directly executing db:push and seed"

This commit is contained in:
louiscklaw
2025-06-17 19:58:45 +08:00
parent 448825545e
commit 1cb018d4d5

View File

@@ -4,8 +4,6 @@ yarn --dev
clear
while true; do
npx nodemon --ext prisma --exec "yarn db:push && yarn seed"
echo "restarting..."
sleep 1
done
yarn db:push && yarn seed
echo "done"