Merge branch 'live-reload' of https://github.com/danielwegener/reveal.js into dev
This commit is contained in:
		
							
								
								
									
										10
									
								
								Gruntfile.js
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Gruntfile.js
									
									
									
									
									
								
							@@ -80,7 +80,9 @@ module.exports = function(grunt) {
 | 
				
			|||||||
			server: {
 | 
								server: {
 | 
				
			||||||
				options: {
 | 
									options: {
 | 
				
			||||||
					port: port,
 | 
										port: port,
 | 
				
			||||||
					base: '.'
 | 
										base: '.',
 | 
				
			||||||
 | 
					                    livereload: true,
 | 
				
			||||||
 | 
					                    open: true
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
@@ -97,6 +99,9 @@ module.exports = function(grunt) {
 | 
				
			|||||||
		},
 | 
							},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		watch: {
 | 
							watch: {
 | 
				
			||||||
 | 
					            options: {
 | 
				
			||||||
 | 
					                livereload: true
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
			main: {
 | 
								main: {
 | 
				
			||||||
				files: [ 'Gruntfile.js', 'js/reveal.js', 'css/reveal.css' ],
 | 
									files: [ 'Gruntfile.js', 'js/reveal.js', 'css/reveal.css' ],
 | 
				
			||||||
				tasks: 'default'
 | 
									tasks: 'default'
 | 
				
			||||||
@@ -104,6 +109,9 @@ module.exports = function(grunt) {
 | 
				
			|||||||
			theme: {
 | 
								theme: {
 | 
				
			||||||
				files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ],
 | 
									files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ],
 | 
				
			||||||
				tasks: 'themes'
 | 
									tasks: 'themes'
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
					            html: {
 | 
				
			||||||
 | 
					                files: [ 'index.html']
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -33,7 +33,7 @@
 | 
				
			|||||||
    "grunt-contrib-uglify": "~0.2.4",
 | 
					    "grunt-contrib-uglify": "~0.2.4",
 | 
				
			||||||
    "grunt-contrib-watch": "~0.5.3",
 | 
					    "grunt-contrib-watch": "~0.5.3",
 | 
				
			||||||
    "grunt-contrib-sass": "~0.5.0",
 | 
					    "grunt-contrib-sass": "~0.5.0",
 | 
				
			||||||
    "grunt-contrib-connect": "~0.4.1",
 | 
					    "grunt-contrib-connect": "~0.5.0",
 | 
				
			||||||
    "grunt-zip": "~0.7.0",
 | 
					    "grunt-zip": "~0.7.0",
 | 
				
			||||||
    "grunt": "~0.4.0"
 | 
					    "grunt": "~0.4.0"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user