You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's a basic example of using Miniflare with `maybeStartOrUpdateRemoteProxySession` to provide a local dev session with remote bindings. This example uses a single hardcoded KV binding.
// ... tool logic that invokes `startOrUpdateDevSession()` ...
398
401
399
402
// ... once the dev session is no longer needed run
400
403
// `remoteProxySessionDetails?.session.dispose()`
401
-
402
404
```
403
-
</TypeScriptExample>
404
405
406
+
</TypeScriptExample>
405
407
406
408
## `wrangler dev --remote` (Legacy)
407
409
@@ -425,5 +427,3 @@ When using remote development, all bindings automatically connect to their remot
425
427
### Limitations
426
428
427
429
- When you run a remote development session using the `--remote` flag, a limit of 50 [routes](/workers/configuration/routing/routes/) per zone is enforced. Learn more in[ Workers platform limits](/workers/platform/limits/#number-of-routes-per-zone-when-using-wrangler-dev---remote).
0 commit comments