This will be somewhat different for each launch site, but at most launch facilities, among its buildings, there would also be some that resemble an astronomy observatory with a rotating dome on top (cupola).

Inside, it would have a proper telescope, or even a few of them, most likely refractors (glass type) since they offer better clarity at the center of the image, but that's not necessarily the case and they might as well use off-center image from a reflector (Dobsonian / Newtonian) or hybrid telescopes.

Observatory buildings along the coast next to the NASA's Wallops Flight Facility (Image credit: NASA Wallops)
Whichever telescope type they use, they would also have to use a motorized "Go-To" telescope mount with a reprogrammed star tracker to only follow the brightest spot, the rocket's exhaust plume. Additional image stabilization could also be done in software, along with correcting for atmospheric refraction, sharpness and all kinds of other things related to image quality, and they would often use multiple cameras / sensors and filter combinations to record the rocket's ascent in different wavelengths, with IR (infrared) wavelength being one of the most important ones on top of visible wavelength that they would mostly transmit for live streams during broadcasts.
Perhaps you'll find it interesting, here's a few links to vintage videos of the Kennedy Space Center Observatory from 1958 that I found while searching for convincing photographs. Sadly, they're watermarked, but they do loop in the preview:

Well, I thought they're rather cool, and the second one shows how such a telescope would approximately move to track a rocket during launch. :)