So my functions read / write contents to a R2 binding SOME_BINDING.
On dev, I run:
wrangler pages dev --r2 SOME_BINDING -- webpack serve --host ....
Whenever I restart the above command, it seems that SOME_BINDING is gone.
Is it possible to make r2 persistent across restarts of “wrangler pages dev”?
--persist Enable persistence for local mode, using default path: .wrangler/state [boolean]
--persist-to Specify directory to use for local persistence (implies --persist) [string]
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.