Created
October 6, 2012 10:45
-
-
Save grimen/3844594 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 sh | |
kill -9 $(lsof -i:$PORT -t) 2> /dev/null | |
foreman start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE: $PORT env should maybe be loaded from file in project root or something if it's not set.