#!/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