I had a problem for accessing environment variable using forever.
Thanks to this post, I have a workaround making env vrariable accessible but I'm still wondering why I have to add them all the time :
MY_VARIABLE=SOMETHING forever start my_script.js
because I've previously done an :
export MY_VARIABLE=SOMETHING
Then opened a new terminal but still no luck ...
I would like to set my variable once and not have to write it down each time I'm managing my script ...
Thanks for people who will take time to make me less an idiot and satisfy my curiosity ...