option to not hotswap
use location.host instead of localhost