27 lines
417 B
Bash
Executable file
27 lines
417 B
Bash
Executable file
#!/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
|
|
}
|
|
|
|
for d in packages/*/tsconfig.json
|
|
do
|
|
open "cd $(dirname $d); yarn compile:watch"
|
|
done
|
|
|
|
for d in packages/*/rollup.config.js
|
|
do
|
|
open "cd $(dirname $d); yarn rollup:watch"
|
|
done
|
|
|
|
tmux select-layout even-vertical
|