Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Sure. I somehow thought Admin SDK alpha was involved, but it's not. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This was quite surprising.
It seems that when I start Firebase Emulator, my
functions/index.js
is read twice.The invocations are right after each other, and I don't call any of the services, yet.
First time looks legitimate. The functions are initialized.
Right after the
Issues? Report them at...
logging line, there's a second import.This time, it's with some added env.vars:
What is going on?
One could do time-consuming initialisations in the functions body, and being called twice is surprising.
Beta Was this translation helpful? Give feedback.
All reactions