This folder contains the Grunt tasks that Sails runs by default.
For more information, see Assets > Task Automation > Task Triggers.
To run a custom task list, create a file in this directory and set
sails.config.environment
to match this file name. For example, if the Sailsenvironment
config is set to "qa", then when you lift, instead oftasks/register/default.js
ortasks/register/prod.js
, Sails will instead runtasks/register/qa.js
. (If it does not exist, thendefault.js
will be run instead.)