Changes in zoning rules have allowed small manufacturers like HEX Ferments to return to the districts and neighborhoods they began leaving a century ago.