It\'s very weird. When I initially launch with firebase emulators:start with the below cloud function and make a change to one of the user documents it works as expected.