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.
 
 
 

39 lines
741 B

module.exports = function(grunt) {
'use strict';
grunt.initConfig({
watch: {
options: {
livereload: true,
},
basic: {
files: ['lib/*.js'],
tasks: ['before'],
},
customport: {
files: ['lib/*.js'],
tasks: ['before'],
options: {
livereload: {
port: 8675,
},
},
},
nospawn: {
files: ['lib/*.js'],
tasks: ['before'],
options: {
nospawn: true,
livereload: 1337,
},
},
},
});
// Load this watch task
grunt.loadTasks('../../../tasks');
grunt.registerTask('before', function() {
grunt.log.writeln('I ran before livereload.');
});
};