Created
January 15, 2015 09:25
-
-
Save jplindstrom/ad7936feb3bf3123f49a to your computer and use it in GitHub Desktop.
Start multiple processes in the background and kill them all with C-c
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
#!/bin/bash | |
source ~/.bashrc | |
nvm use | |
perl -Mlocal::lib=local bin/app.pl worker & | |
perl -Mlocal::lib=local local/bin/morbo bin/app.pl --listen=http://*:9000 & | |
ember serve --proxy=http://127.0.0.1:9000 & | |
trap "kill -TERM -$$" SIGINT | |
wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment