Skip to content

Instantly share code, notes, and snippets.

@grimen
Created October 6, 2012 10:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grimen/3844594 to your computer and use it in GitHub Desktop.
Save grimen/3844594 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
kill -9 $(lsof -i:$PORT -t) 2> /dev/null
foreman start
@grimen
Copy link
Author

grimen commented Oct 6, 2012

NOTE: $PORT env should maybe be loaded from file in project root or something if it's not set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment