Created
November 14, 2015 16:25
-
-
Save adekbadek/d947398db22f4bfaf625 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
// most basic Grunt config with just livereloading | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
watch: { | |
html: { | |
files: 'index.html', | |
options: { | |
livereload: true, | |
}, | |
}, | |
}, | |
}); | |
// Load the plugin that provides the "watch" task. | |
grunt.loadNpmTasks('grunt-contrib-watch'); | |
// Default task(s). | |
grunt.registerTask('default', ['watch']); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment