Skip to content

Instantly share code, notes, and snippets.

@prakhar1989
Created June 27, 2014 08:46
Show Gist options
  • Save prakhar1989/03928078325488d18aaa to your computer and use it in GitHub Desktop.
Save prakhar1989/03928078325488d18aaa to your computer and use it in GitHub Desktop.
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
watch: {
files: ['**/*.js', '**/*.html'],
options: {
// Start a live reload server on the default port 35729
livereload: true,
}
}
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', ['watch']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment