Severe thunderstorms could roll through the city Monday afternoon, forecasters said. View Full Caption DNAinfo/Tom Liddy

NEW YORK CITY — A storm that rolled into the city Monday afternoon was set to bring up to 3 inches of rain and 60 mph winds that will continue through the early hours of Tuesday morning, forecasters said.

The National Weather Service issued a severe thunderstorm watch and flash flood warning around 5 p.m., both of which would be in effect until 8 p.m., according to its website.

Flash flooding is also considered possible throughout the night, with a warning advisory in place until 4 a.m. on Tuesday.

"We have an elevated risk for damaging wind, lightning and that flooding rain," Tim Morrin of the NWS said.

Potential for Severe Thunderstorms and Flooding this afternoon and evening. Here are some details. pic.twitter.com/QG1eekpcek — NWS New York NY (@NWSNewYorkNY) June 19, 2017

The stormy conditions will be driven by a cold front marching from Ohio, across Pennsylvania and into the city, forecasters said.

"The issue here is that the line is going to be moving relatively slow. The rain, once it starts, it's not going to be exiting very fast," Morrin said.

The Department of Buildings asked building owners and construction crews to secure all property and equipment ahead of the storm, and said that it would be performing "random spot-check inspections" at work sites across the city.

Con Edison was also warning customers to steer clear of downed electrical lines if they see them, and to report those or any power outages by calling 1-800-75-CONED.

All told, the storm could drop as many as 3 inches of rain and lash the city with 60 mph wind gusts before it moves out of the city by early Tuesday morning, officials said.

"In the city, it should taper off by 2 or 3 a.m.," Morrin said.

The city should have relatively calm weather the rest of the week, albeit with temps in the 80s and high humidity, and some showers possible Wednesday and Friday, officials said.