Testing worker locally with an existing project

I have an existing Next.js project that is deployed to AWS via SST, but uses a cf worker to reverse proxy to cloudfront, among other things. I'm trying to find a way to run the worker locally, but everything that I've come across is specific to cf Pages and doesn't work for my infra. Is there a way to have a worker watch a specific port that I run the app on and it just work? 🤞
1 Reply
Adam
Adam•8mo ago
GitHub
miniflare/packages/miniflare/README.md at v3.20231016.0 · cloudflar...
🔥 Fully-local simulator for Cloudflare Workers. Contribute to cloudflare/miniflare development by creating an account on GitHub.