Use shotgun to speed up your development
January 3, 2012
You should be using shotgun to speed up your development, instead of killing your web app server everytime you want to reload code changes into webrick, mongrel or any other rack compliant server you could be using shotgun and have it watch your files for changes and reload the code automatically
That is it! Now launch your shotgun app server:
This will launch shotgun with the default settings:
- Listen only on http://127.0.0.1:9393
- Run on development environment
- Look for config.ru on the current directory
Now lets say you want to use something like 192.168.0.3:3000 using the production environment
- -E lets you set the environment
- -o configures the address the server will bind to
- -p sets the port the server will bind to
happy hacking