To start sailsjs in production mode you append --prod
.
Run:
node app.js --prod
I'm using PM2 and a simple json file for settings, which contains name of process and scriptname, to kick off the node process.
How would I pass the production argument using PM2?