diff options
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 11bd42b..7cea2a5 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -13,7 +13,7 @@ module.exports = function(grunt) { ' * http://lab.hakim.se/reveal-js\n' + ' * MIT licensed\n' + ' *\n' + - ' * Copyright (C) 2015 Hakim El Hattab, http://hakim.se\n' + + ' * Copyright (C) 2016 Hakim El Hattab, http://hakim.se\n' + ' */' }, @@ -113,9 +113,6 @@ module.exports = function(grunt) { }, watch: { - options: { - livereload: true - }, js: { files: [ 'Gruntfile.js', 'js/reveal.js' ], tasks: 'js' @@ -129,19 +126,21 @@ module.exports = function(grunt) { tasks: 'css-core' }, html: { - files: [ 'index.html'] + files: [ '*.html'] }, markdown: { - files: [ './*.md' ] + files: [ '*.md' ] + }, + options: { + livereload: true } }, retire: { - js: ['js/reveal.js', 'lib/js/*.js', 'plugin/**/*.js'], - node: ['.'], - options: { - } - } + js: ['js/reveal.js', 'lib/js/*.js', 'plugin/**/*.js'], + node: ['.'], + options: {} + } }); @@ -155,7 +154,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks( 'grunt-contrib-connect' ); grunt.loadNpmTasks( 'grunt-autoprefixer' ); grunt.loadNpmTasks( 'grunt-zip' ); - grunt.loadNpmTasks('grunt-retire'); + grunt.loadNpmTasks( 'grunt-retire' ); // Default task grunt.registerTask( 'default', [ 'css', 'js' ] ); |