gin
gin copied to clipboard
Add more configuration options
This PR allows the user to:
-
Bind a particular interface. This is useful both for security (so you don't expose your development server), and also lets you bind to 127.0.0.1 to prevent OSX from launching a warning dialog when your firewall's on. (I avoided this to retain backwards-compatibility, but the ideal default would be to bind to 127.0.0.1.)
-
Choose a separate build and watch path. This is useful for many projects which nest their main packages inside of the repository.
@codegangsta Any chance you would be willing to merge this? We've gotten a lot of great use out of gin, and the changes here should be backwards-compatible while adding support for additional use cases.
@codegangsta any update on this? it has been pretty well tested, does not break the existing API and adds a must-have capability for many repos.
Binding to a specific interface was just added with #88 -- if anyone wants to resolve conflicts I'd be happy to merge the second option.