Best with a Cold Light enlarger head. (Not with a condenser enlarger, it has a light bulb/pær in it with lenses, yeilds the Callier effect)
A photocell in the enlarger head connects to the time and montiors light output and adjusts the time to expose the paper.
This keeps the exposure constant. Some detail
COMPENSATING ENLARGING TIMER