aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js16
1 files changed, 13 insertions, 3 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 55585d4..4e57152 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' ]
@@ -96,7 +98,9 @@ module.exports = function(grunt) {
server: {
options: {
port: port,
- base: '.'
+ base: '.',
+ livereload: true,
+ open: true
}
}
},
@@ -113,6 +117,9 @@ module.exports = function(grunt) {
},
watch: {
+ options: {
+ livereload: true
+ },
main: {
files: [ 'Gruntfile.js', 'js/reveal.js', 'css/reveal.css' ],
tasks: 'default'
@@ -124,7 +131,10 @@ module.exports = function(grunt) {
css: {
files: [ 'css/reveal.bare.css' ],
tasks: 'css'
- }
+ },
+ html: {
+ files: [ 'index.html']
+ }
}
});