|
@@ -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']
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
});
|