"chore: add db:push and seed commands to dev script startup sequence"
This commit is contained in:
@@ -5,12 +5,9 @@ yarn --dev
|
||||
clear
|
||||
|
||||
while true; do
|
||||
# yarn db:push
|
||||
# yarn seed
|
||||
|
||||
yarn db:studio &
|
||||
|
||||
npx nodemon --ext ts,tsx,prisma --exec "yarn dev"
|
||||
npx nodemon --ext ts,tsx,prisma --exec "yarn db:push && yarn seed && yarn dev"
|
||||
# yarn dev
|
||||
|
||||
echo "restarting..."
|
||||
|
Reference in New Issue
Block a user