Tuning crystal structure in a micro-scale reactive flow