Getting started - redirects in local dev

Hi, do redirects not work with netlify dev?

Going through the ‘Get started with Netlify’ tutorial, the redirect works correctly for my deployed site: https://sunnyside-math.netlify.app/api/hello-worldhttps://sunnyside-math.netlify.app/.netlify/functions/hello-world. But it doesn’t work in dev.

[access] /api/hello-world
[access] Not Found: /api/hello-world
[access] /404

I also tried adding an explicit redirect: /api/hello-world /.netlify/functions/hello-world but that also didn’t work in dev.

Thanks!