syndicate-js/watchall

30 lines
487 B
Plaintext
Raw Permalink Normal View History

2021-01-23 22:38:55 +00:00
#!/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); exec yarn compile:watch"
2021-01-23 22:38:55 +00:00
done
for d in packages/*/rollup.config.js
do
open "cd $(dirname $d); exec yarn rollup:watch"
2021-01-23 22:38:55 +00:00
done
open "cd packages/browser-stdenv; exec yarn prepare:watch"
2021-01-23 22:38:55 +00:00
tmux select-layout even-vertical