watchall
This commit is contained in:
parent
2ff7b5214b
commit
24a7d2a55f
|
@ -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
|
Loading…
Reference in New Issue