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
* [wrangler] dependency on lib++
There is a need for libc++ due to Workerd currently.
* Update commands.md
* added documentation for remote KV flag --experimental-local-remote-kv
* Revised wording for libc++ depend warning
* Update content/workers/wrangler/commands.md
Co-authored-by: Somhairle MacLeòid <[email protected]>
* Update content/workers/wrangler/commands.md
Co-authored-by: Kate Tungusova <[email protected]>
* Update content/workers/wrangler/commands.md
Co-authored-by: Kate Tungusova <[email protected]>
Co-authored-by: Somhairle MacLeòid <[email protected]>
Co-authored-by: Kate Tungusova <[email protected]>
- Run the preview of the Worker directly on your local machine.
159
160
{{<Asidetype="warning">}}
160
-
This runs an ephemeral local version of your Worker, and will not be able to access data stored on Cloudflare's Edge (for instance, this includes your data stored on KV). If you'd like to persist data locally, using the `--persist` flag will tell Wrangler to store data in the `.wrangler/state` subdirectory.
161
+
This runs an ephemeral local version of your Worker, and will not be able to access data stored on Cloudflare's network (for example, this includes your data stored on KV). To persist data locally, using the `--persist` flag will tell Wrangler to store data in the `.wrangler/state` subdirectory.
- Run the preview of the Worker directly on your local machine using the [open source Cloudflare Workers runtime](https://github.com/cloudflare/workerd).
166
+
{{<Asidetype="warning">}}
167
+
168
+
When working on Wrangler, you need to satisfy [`workerd`](https://github.com/cloudflare/workerd)'s `libc++1` runtime dependencies:
169
+
170
+
On Linux: libc++ (for example, the package `libc++1` on Debian Bullseye).
171
+
On macOS: The XCode command line tools, which can be installed with `xcode-select --install`.
- This will write/read to/from your remote KV namespaces, as specified in `wrangler.toml`. Note this flag requires `--experimental-local` to be enabled.
0 commit comments