Skip to content

Instantly share code, notes, and snippets.

@adekbadek
Created November 14, 2015 16:25
Show Gist options
  • Save adekbadek/d947398db22f4bfaf625 to your computer and use it in GitHub Desktop.
Save adekbadek/d947398db22f4bfaf625 to your computer and use it in GitHub Desktop.
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