From 5c1497e8b26c94afed7ed3d7cbf1d16ce2e6436f Mon Sep 17 00:00:00 2001 From: Daniel Wegener Date: Thu, 21 Nov 2013 21:02:51 +0100 Subject: grunt serve starts the browser and livereloads changes in the presentation - upgrade grunt-contrib-connect to ~0.5.0 - configure connect and watch plugin --- Gruntfile.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index 71ae151..13f3dde 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -80,7 +80,9 @@ module.exports = function(grunt) { server: { options: { port: port, - base: '.' + base: '.', + livereload: true, + open: true } } }, @@ -97,6 +99,9 @@ module.exports = function(grunt) { }, watch: { + options: { + livereload: true + }, main: { files: [ 'Gruntfile.js', 'js/reveal.js', 'css/reveal.css' ], tasks: 'default' @@ -104,7 +109,10 @@ module.exports = function(grunt) { theme: { files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ], tasks: 'themes' - } + }, + html: { + files: [ 'index.html'] + } } }); -- cgit v1.2.3 From 2aef97584a2c459d425d3ade55633120972c1ca7 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 16 Feb 2014 17:12:05 +0100 Subject: update (c) year --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index 13f3dde..b6738b0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -11,7 +11,7 @@ module.exports = function(grunt) { ' * http://lab.hakim.se/reveal-js\n' + ' * MIT licensed\n' + ' *\n' + - ' * Copyright (C) 2013 Hakim El Hattab, http://hakim.se\n' + + ' * Copyright (C) 2014 Hakim El Hattab, http://hakim.se\n' + ' */' }, -- cgit v1.2.3 From 613a05f1544d21d5a16ffcefd960c24daec91873 Mon Sep 17 00:00:00 2001 From: Michael Williams Date: Tue, 8 Apr 2014 17:08:21 -0700 Subject: add UMD support. fix #787 --- Gruntfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index 1baf966..0e67363 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -70,7 +70,9 @@ module.exports = function(grunt) { head: false, module: false, console: false, - unescape: false + unescape: false, + define: false, + exports: false } }, files: [ 'Gruntfile.js', 'js/reveal.js' ] -- cgit v1.2.3