Running Service Binding Worker Locally With Pages App

I know this is a Pages "feature"... but Pages still uses Workers. And I got no response over on the Pages channel... surprised by that. I am trying to get my service binding to run locally so I can interact locally with my app. According to the docs... --service=<BINDING_NAME>=<WORKER_NAME> This is the flag to access a running Worker in dev mode. However, the wrangler in the CLI says service is an unknown argument. Further the docs say to run the Worker project with... wrangler pages dev --local This would not work for me. However, wrangler dev --local at least got my Worker running and I could talk to it directly... but never through the Worker I have in my Pages application. Are there known issues not stated in the docs about service bindings?
1 Reply
danboyle8637
danboyle8637OP2y ago
Oh nice. Thanks for the find. Hopefully that will get merged soon!
Want results from more Discord servers?
Add your server