You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
558 B
29 lines
558 B
module.exports = function(grunt) {
|
|
'use strict';
|
|
|
|
grunt.initConfig({
|
|
watch: {
|
|
options: {
|
|
nospawn: true,
|
|
},
|
|
warn: {
|
|
files: ['lib/*.js'],
|
|
tasks: ['warn'],
|
|
},
|
|
fatal: {
|
|
files: ['lib/*.js'],
|
|
tasks: ['fatal'],
|
|
},
|
|
},
|
|
});
|
|
|
|
// Load this watch task
|
|
grunt.loadTasks('../../../tasks');
|
|
|
|
grunt.registerTask('warn', function() {
|
|
grunt.warn('This task should warn!');
|
|
});
|
|
grunt.registerTask('fatal', function() {
|
|
grunt.fatal('This task should be fatal!');
|
|
});
|
|
};
|