"feat: simplify db push script by removing restart loop and directly executing db:push and seed"
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user