default.js 815 B

12345678910111213141516171819202122232425262728
  1. /**
  2. * `tasks/register/default.js`
  3. *
  4. * ---------------------------------------------------------------
  5. *
  6. * This is the default Grunt tasklist that will be executed if you
  7. * run `grunt` in the top level directory of your app. It is also
  8. * called automatically when you start Sails in development mode using
  9. * `sails lift` or `node app` in a development environment.
  10. *
  11. * For more information see:
  12. * https://sailsjs.com/anatomy/tasks/register/default.js
  13. *
  14. */
  15. module.exports = function (grunt) {
  16. grunt.registerTask('default', [
  17. // 'polyfill:dev', //« uncomment to ALSO transpile during development (for broader browser compat.)
  18. 'compileAssets',
  19. // 'babel', //« uncomment to ALSO transpile during development (for broader browser compat.)
  20. 'linkAssets',
  21. 'watch'
  22. ]);
  23. };