sails-generate-frontend
Version:
Default generator for frontend code files in new Sails projects. Creates the default contents of the `assets/` folder when you run `sails new` on the command-line. Also creates a subset of the boilerplate Grunt task files (in `tasks/`); specifically, the
21 lines (20 loc) • 500 B
JavaScript
/**
* `syncAssets`
*
* ---------------------------------------------------------------
*
* This Grunt tasklist is not designed to be used directly-- rather
* it is a helper called by the `watch` task (`tasks/config/watch.js`).
*
* For more information see:
* http://sailsjs.org/documentation/anatomy/my-app/tasks/register/sync-assets-js
*
*/
module.exports = function(grunt) {
grunt.registerTask('syncAssets', [
'jst:dev',
'less:dev',
'sync:dev',
'coffee:dev'
]);
};