-
-
Save rodolfobandeira/4095fc75d7b78176fe8c669cc2ddc50b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#tmux new-session -d -s rails 'title rails-development; stty -ixon; vim' | |
cd ~/develop/projs/html5-audio-player-typescript | |
title oswp | |
tmux new-session -d -s oswp | |
# For some reason, send-keys does nothing here, not even an error is displayed. | |
tmux rename-window 'VIM' | |
tmux new-window -t oswp:1 -n 'php -S localhost:8080' \; send-keys $'php -S localhost:8080\n' | |
tmux new-window -t oswp:2 -n 'tsc' \; send-keys $'tsc --watch\n' | |
tmux new-window -t oswp:3 -n 'sass' \; send-keys $'sass --watch styles/scss:styles/css\n' | |
tmux new-window -t oswp:4 -n 'shell' | |
tmux select-window -t oswp:0 | |
tmux send-keys $'vim demo.html\n' | |
tmux -2 attach-session -t oswp | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment