Rising demand is great. It means people want to enjoy your neighborhood. You can either meet that demand by increasing supply, or you can restrict the demand, and let certain people be outpriced by the market.
Locals aren't victims of gentrification. They're victims of zoning laws and nimbyism.