Real-time monitoring allows for fast optimization of reactions performed using continuous-flow processing. Here the preparation of 3-acetylcoumarin is used as an example. The apparatus for performing in-situ Raman monitoring is described, as are the steps required to optimize the reaction.