diff options
author | Hakim El Hattab | 2013-12-10 11:37:50 +0100 |
---|---|---|
committer | Hakim El Hattab | 2013-12-10 11:37:50 +0100 |
commit | b7fcd71c9f9f3415902b2879f704ec5c4cfc4d41 (patch) | |
tree | 8e67aa31bdc7838e5d118fae40f4285d59b1711a /Gruntfile.js | |
parent | 7055c54b799a966d313ab87d221a207e9d04bac8 (diff) | |
parent | 5c1497e8b26c94afed7ed3d7cbf1d16ce2e6436f (diff) |
Merge branch 'live-reload' of https://github.com/danielwegener/reveal.js into dev
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 12 |
1 files changed, 10 insertions, 2 deletions
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'] + } } }); |