28 lines
815 B
JavaScript
28 lines
815 B
JavaScript
/**
|
|
* `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` in a development environment.
|
|
*
|
|
* For more information see:
|
|
* https://sailsjs.com/anatomy/tasks/register/default.js
|
|
*
|
|
*/
|
|
module.exports = function (grunt) {
|
|
|
|
|
|
grunt.registerTask('default', [
|
|
// 'polyfill:dev', //« uncomment to ALSO transpile during development (for broader browser compat.)
|
|
'compileAssets',
|
|
// 'babel', //« uncomment to ALSO transpile during development (for broader browser compat.)
|
|
'linkAssets',
|
|
'watch'
|
|
]);
|
|
|
|
|
|
};
|