Last active
March 20, 2019 16:51
-
-
Save leandronsp/3c1f52aa56944e8aadafd0bb90734235 to your computer and use it in GitHub Desktop.
Start Rails server (sudo)
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
fdxrails() { | |
kill -9 $(lsof -i tcp:3001 | grep ruby | awk '{print $2}') | |
./bin/spring rails s -p 3001 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment