This commit is contained in:
Tony Garnock-Jones 2023-01-11 14:28:11 +01:00
parent 2ff7b5214b
commit 24a7d2a55f
1 changed files with 21 additions and 0 deletions

21
watchall Executable file
View File

@ -0,0 +1,21 @@
#!/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 "yarn run regenerate:watch"
open "while true; do yarn run compile:watch; sleep 5; done"
open "yarn run rollup:watch"
tmux select-layout even-vertical