Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production Env variable #21

Open
andr-ec opened this issue Mar 31, 2023 · 3 comments
Open

Production Env variable #21

andr-ec opened this issue Mar 31, 2023 · 3 comments

Comments

@andr-ec
Copy link

andr-ec commented Mar 31, 2023

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

@bigzhu
Copy link

bigzhu commented Apr 4, 2023

Same issues when used in production

@bigzhu
Copy link

bigzhu commented Jul 16, 2023

nodemon --exitcrash

@dbarrosop
Copy link
Member

We don't really recommend using this solution for production usage, only for development. In any case, if the solution is simple enough we will accept the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants