forked from syndicate-lang/preserves
25 lines
500 B
Plaintext
25 lines
500 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
cd $(dirname $0)
|
||
|
|
||
|
first=y
|
||
|
|
||
|
open() {
|
||
|
if [ "$first" = "y" ]
|
||
|
then
|
||
|
tmux new-window "$1"
|
||
|
first=n
|
||
|
else
|
||
|
tmux split-window "$1" \; select-layout tiled
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
open "cd packages/core; yarn run watch"
|
||
|
open "cd packages/core; yarn run rollupwatch"
|
||
|
open "cd packages/core; yarn run testwatch"
|
||
|
open "cd packages/schema; yarn run watch"
|
||
|
open "cd packages/schema; yarn run rollupwatch"
|
||
|
open "cd packages/schema; yarn run testwatch"
|
||
|
|
||
|
tmux select-layout even-vertical
|