Is this a good approach to have projects which require editing of hosts file?
In the projects I have worked on, there was a config file or environment variable which cleanly switched servers to localhost, no hosts editing necessary.
In the projects I have worked on, there was a config file or environment variable which cleanly switched servers to localhost, no hosts editing necessary.