This project is what we use to deploy functions in a self hosted environment. The main problem is that nodemon is used. This means that when an error is thrown, the process simply says: "waiting for file changes". This means that the process stays in a failing state until restarted manually.
The solution would be to add an env variable that depending on production or not, will use node to run the project instead of nodemon
This project is what we use to deploy functions in a self hosted environment. The main problem is that
nodemonis used. This means that when an error is thrown, the process simply says: "waiting for file changes". This means that the process stays in a failing state until restarted manually.The solution would be to add an env variable that depending on production or not, will use
nodeto run the project instead ofnodemon