Evolution of dwarf galaxies hosting GW150914-like events