Skip to content

Commit 411e3e7

Browse files
Merge pull request #118 from dtaylor113/master
Configured 'grunt ngdocs:view' to open url in browser and livereload
2 parents 9d9e84f + 2930617 commit 411e3e7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Gruntfile.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ module.exports = function (grunt) {
4343
connect: {
4444
docs: {
4545
options: {
46-
base: 'dist/docs'
46+
base: 'dist/docs',
47+
livereload: true,
48+
open: true
4749
}
4850
}
4951
},
@@ -212,7 +214,10 @@ module.exports = function (grunt) {
212214
},
213215
all: {
214216
files: ['Gruntfile.js', 'src/**/*.js', 'src/**/*.html', 'styles/**/*.css'],
215-
tasks: ['build']
217+
tasks: ['build'],
218+
options: {
219+
livereload: true
220+
}
216221
}
217222
}
218223
});

0 commit comments

Comments
 (0)