aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorDaniel Wegener <daniel.wegener@holisticon.de>2013-11-21 21:02:51 +0100
committerDaniel Wegener <daniel.wegener@holisticon.de>2013-12-05 16:11:35 +0100
commit5c1497e8b26c94afed7ed3d7cbf1d16ce2e6436f (patch)
treec079b272815ad6f597f3640d12564e705e15bb9c /Gruntfile.js
parent4068c5221d8550a78cd5ca8a9664b66f2cff1f54 (diff)
downloadfreenode-live-2017-presentation-5c1497e8b26c94afed7ed3d7cbf1d16ce2e6436f.tar
freenode-live-2017-presentation-5c1497e8b26c94afed7ed3d7cbf1d16ce2e6436f.tar.gz
grunt serve starts the browser and livereloads changes in the presentation
- upgrade grunt-contrib-connect to ~0.5.0 - configure connect and watch plugin
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js12
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']
+ }
}
});