Edit Page

tasks/register/prod.js

This Grunt tasklist will be executed instead of default when your Sails app is lifted in a production environment (e.g. using NODE_ENV=production node app).

Want to see for yourself?

An example of this file can be found in our sample app repo, here.

Anatomy of a Sails App