I have the following in my package.json, and it works well. how do i use pm2 with it? i am struggling with setting the env vars
ORG=org1 PORT=3333 node ./bin/www
the following didnt work:
pm2 start -f --attach ORG=org1 PORT=3333 ./bin/www --watch