Well it depends do you mean how they are warned now or back then ?
Now: NHC issues a hurricane warning 36 hours in advance of tropical storm-force winds to give you time to complete your preparations
Back then: not sure on what the steps were but here is information about it—hurricane warning service was set up in the early 1870s from Cuba with the work of Father Benito Vines, who served as director of the Meteorological Observatory of the Royal College of Belén. He established a network of observation sites and developed the first method to forecast tropical cyclone movement,
France lost nearly all of its North American possessions after losing the French and Indian War to Britain.
Bernardo de Gálvez was the governor of the Spanish colony of Louisiana when the Revolutionary War began in 1776. Gálvez helped the Patriots by keeping British armies and supplies out of the Mississippi River. He also gave the United States army ammunition and food.
When Spain joined the war, Gálvez prepared a series of military attacks against British forts in West Florida. As he gathered supplies, a hurricane destroyed his ships. Gálvez decided to attack by land instead of water. His army drove the British further east.
Gálvez prepared another fleet of ships to attack the British at Pensacola in present-day Florida. A second hurricane scattered this fleet. Gálvez did not give up. A fleet from the Spanish Royal Navy joined Gálvez's fleet for the attack. The commander of the royal fleet refused to enter Pensacola Bay even though he was in authority. Gálvez led the charge instead. His forces captured Pensacola. By winning these battles, he made sure the British could not attack the Patriots from the south and west.
He was successful in uniting all of Europe in his Continental System.