Ignore paths in pages `functions` directory

Are there any prefixes that will allow me to ignore files in the functions directory, so I can locate my non-route logic adjacent to my routes?

Other frameworks often use an underscore prefix for instance

If not, is there a way to specify multiple directories for wrangler to watch during
wrangler pages dev
? Putting my server code in ./server doesn't trigger auto-refreshes...
Was this page helpful?