File size: 445 Bytes
bc3edca
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# Start backend dev server in a new terminal
osascript -e 'tell application "Terminal" to do script "cd ~/path/to/backend && npm run dev"'

# Start backend start-dev server in a new terminal
osascript -e 'tell application "Terminal" to do script "cd ~/path/to/backend && npm run start-dev"'

# Start frontend dev server in a new terminal
osascript -e 'tell application "Terminal" to do script "cd ~/path/to/frontend && npm run dev"'