aboutsummaryrefslogtreecommitdiffhomepage
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js18
1 files changed, 13 insertions, 5 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 9b624a4..b6738b0 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -11,11 +11,10 @@ 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' +
' */'
},
- // Tests will be added soon
qunit: {
files: [ 'test/*.html' ]
},
@@ -70,7 +69,8 @@ module.exports = function(grunt) {
globals: {
head: false,
module: false,
- console: false
+ console: false,
+ unescape: false
}
},
files: [ 'Gruntfile.js', 'js/reveal.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']
+ }
}
});