Is there a way to reload my HOSTS file immediately without restarting my browser?
I'm a web developer and change my HOSTS file to point to my local machine and then one development machine and then another, etc. I have scripts set up to instantly switch to whatever HOSTS file I want to use at the moment.
I've got IE set up to run in a new process for each instance of the browser. As a result, opening a new IE window causes it to use the latest HOSTS file.
I'm not aware of a way to do this with either Firefox/Mozilla or Opera. They both open new windows in the same process AFAIK.
I've found that if I wait a while that all browsers will eventually start using the latest HOSTS file, but I have no idea when the update occurs.
So, is there a way to do this? Is there a way to force Mozilla/Firefox or Opera to use the latest HOSTS file right away?