The popularity of farmers’ markets has exploded in recent years as consumers increasingly seek a closer connection with food producers.