Skip to content

Commit

Permalink
feat(build): livereload
Browse files Browse the repository at this point in the history
rebuild docs on js src change
  • Loading branch information
ygatesoupe committed Dec 3, 2015
1 parent ae4d9cc commit 39e2549
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,16 +393,13 @@ module.exports = function (grunt) {
watch: {
src: {
files: '<%= jscs.core.src %>',
tasks: ['babel:dev']
/* boosted mod */
tasks: ['babel:dev', 'dist-js', 'docs', 'jekyll:docs']
/* end mod */
},
sass: {
files: 'scss/**/*.scss',
tasks: ['dist-css', 'docs'],
/* boosted mod */
options: {
livereload: '<%= connect.options.livereload %>'
}
/* end mod */
tasks: ['scsslint','dist-css', 'docs', 'jekyll:docs']
},
docs: {
files: 'docs/assets/scss/**/*.scss',
Expand Down

0 comments on commit 39e2549

Please sign in to comment.