© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•2y ago•
11 replies
seasie

the `persist` option of

the
persist
persist
option of
setupDevPlatform
setupDevPlatform
doesn't appear to be working as expected, unless I have it configured incorrectly

if (process.env.NODE_ENV === "development") {
    await setupDevPlatform({
        persist: "../../.wrangler/search/v3",
    })
}
if (process.env.NODE_ENV === "development") {
    await setupDevPlatform({
        persist: "../../.wrangler/search/v3",
    })
}


but it still creates and accesses data from
.wrangler/state/v3
.wrangler/state/v3
, I've tried both with and without
v3
v3
at the end of the path
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

In the middle of a few things so a bit
Cloudflare DevelopersCDCloudflare Developers / next-on-pages
13mo ago
I am getting the error `The script will
Cloudflare DevelopersCDCloudflare Developers / next-on-pages
2y ago
We have no knowledge of what happens
Cloudflare DevelopersCDCloudflare Developers / next-on-pages
2y ago
It seems that passing of specific `x-
Cloudflare DevelopersCDCloudflare Developers / next-on-pages
2y ago