Running `wrangler dev` on a project with a KV binding uses the `preview_id` from `wrangler.toml`. Ho

Running
wrangler dev
on a project with a KV binding uses the preview_id from wrangler.toml. However, reading a value always returns null.

From what I understand, preview namespaces are not local, I checked on the dashboard and the value exists for the given key.

  1. Are preview namespaces what I am supposed to use locally?
  2. If not, is there something really local and how do I run that (I checked the docs but haven't found anything)
Was this page helpful?