I followed the instructions and got the hello world route working online, but I cannot see how to get to a place where I can develop, i.e. to iterate locally. This is my code so far
exports.helloWorld = functions.onRequest((request, response) => {
response.send("Hello from Firebase!");
});
In particular I cannot access routes locally, and there is no reloading of code on save:
I tried firebase serve
and then trying to reach localhost:5000/helloWorld but nothing happened at all.
firebase functions:shell
led to an error being returned on the route:
"/helloWorld is not a recognized path."
I can see that from the firebase >
I can run functions, but I'm trying to work with graphql so I wanted to use the graphiql web interface
And neither approach seemed to reload code when I changed things. ctrl+c, up-arrow, enter is currently my dev environment.
I'm surely missing stuff but https://firebase.google.com/docs/functions/local-emulator is difficult to follow. What am I missing?