Closed miguelcjalmeida closed 6 years ago
This appears correct.
Is node-env
a shell alias or function by chance? If so it won't work since the procs are run in sub-shells.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello!
I am trying to use foreman for the first time and I have tried to use one of my parameters from .env file inside the Procfile, but I didn't succeeded. Maybe I am not allowed to do it, if that is the case I will find a better way to achieve what I need.
My .env file looks like this:
NODECMD=node-dev
My Procfile looks like this:
web: $NODECMD bin/server.js
Thanks for any attention to this matter =)