Multiple workers with `wrangler dev`
# workers-help
k
Hi, I am planning on breaking down my different services into separate workers. How do I specify local mount points for
wrangler dev
in my
wrangler.toml
h
Mount points for KV persistence?
Or DO/R2, etc?
k
I want to mount other workers specifically
d
you mean specify the port?
h
If you start two
wrangler dev --local
sessions, then they should™️ link up automagically.
k
@HardAtWork is there a way for downstream workers to inherit the context of the caller?
Also, is there a way to allow mutliple workers to talk to the same r2 service in wrangler dev?
h
You can
—persist-to
the same location?
k
actually I meant when using unstable_dev, but I assume they both use the same persistence. Thx!