I need to use a custom env file when running my functions locally due to the need for DENO_AUTH_TOKENS to load code from a private github repo (to work around the inability to reference local code outside of the functions dir).
This works fine with supabase functions serve --env-file supabase/.env.local.
Now that the cli automatically starts the edge runtime it is not possible to specify the env file which results in my local edge functions failing.
Bug report
Describe the bug
I need to use a custom env file when running my functions locally due to the need for DENO_AUTH_TOKENS to load code from a private github repo (to work around the inability to reference local code outside of the functions dir).
This works fine with
supabase functions serve --env-file supabase/.env.local
.Now that the cli automatically starts the edge runtime it is not possible to specify the env file which results in my local edge functions failing.
To Reproduce
Expected behavior
There should be the option to load a .env file for edge functions when auto-started with
supabase start
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context