Flow measurement of aldehyde reaction