Taiwan's military has conducted four days of drills in the south of the country, training with machine guns, heavy artillery and missiles, often at night.