mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-15 17:05:06 +01:00
grunt serve starts the browser and livereloads changes in the presentation
- upgrade grunt-contrib-connect to ~0.5.0 - configure connect and watch plugin
This commit is contained in:
parent
4068c5221d
commit
5c1497e8b2
2 changed files with 11 additions and 3 deletions
12
Gruntfile.js
12
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']
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue