sails
Version:
API-driven framework for building realtime apps, using MVC conventions (based on Express and Socket.io)
19 lines (13 loc) • 811 B
Markdown
# tasks/register/default.js
This is the default Grunt tasklist that will be executed if you
run `grunt` in the top level directory of your app. It is also
called automatically when you start Sails in development mode using
`sails lift` or `node app`.
Note that when lifting your app with a custom environment setting
(i.e. `sails.config.environment`), Sails will look for a tasklist file
with the same name and run that instead of this one.
> Note that as a special case for compatibility/historial reasons, if
> your environment is "production" (i.e. because you lifted with NODE_ENV=production),
> and Sails cannot find a tasklist named `production.js`, it will attempt to run
> the `prod.js` tasklist as well before defaulting to `default.js`.
<docmeta name="displayName" value="default.js">