UNPKG

generator-hyper-angular

Version:

Yeoman generator for AngularJS/Express/node.js apps emphasizing modularity, configuration, and testing

19 lines (16 loc) 484 B
(function () { 'use strict'; var chalk = require('chalk'), _ = require('lodash-node'); module.exports = function (grunt) { grunt.registerMultiTask('serve', 'Serve the application', function () { grunt.log.writeln(chalk.bold(chalk.red('Serving <%= projectNameQuoteEscaped %>'))); // Run tasks if (!_.isUndefined(this.data.tasks) && _.isArray(this.data.tasks)) { _(this.data.tasks).forEach(function (task) { grunt.task.run(task); }); } }); }; })();