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
{{ message }}
Repository navigation
celld dev does not read .env, but wrangler dev reads it when there is no .dev.vars #243
wrangler dev reads .dev.vars first. When there is no .dev.vars, it reads .env and then .env.local from the same directory (getVarsForDev). The Cloudflare docs give both files for local development:
Put secrets for use in local development in either a .dev.vars file or a .env file, in the same directory as the Wrangler configuration file.
docs/README.md says that the command reads .dev.vars "as wrangler dev does", and the help of celld dev says the same. But a project that keeps its local variables in .env gets none of them under celld dev. Each one is undefined in the Worker, and celld gives no warning.
Activity
v0.6.2
v0.6.2
bartlomieju commentedon Oct 7, 2026
Fixed in v0.6.2:
celld devreads.envand.env.localwhen there is no.dev.vars, aswrangler devdoes.