"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
|
clear
|
||||||
|
|
||||||
while true; do
|
yarn db:push && yarn seed
|
||||||
npx nodemon --ext prisma --exec "yarn db:push && yarn seed"
|
|
||||||
echo "restarting..."
|
echo "done"
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
|
Reference in New Issue
Block a user