Skip to content

Commit

Permalink
Grunt: Run browserify when .js files change
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnor committed Jan 5, 2017
1 parent 10a1062 commit 2d21420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"* Copyright (c) <%= grunt.template.today('yyyy') %> <%= pkg.author.name %>; Licensed <%= _.pluck(pkg.licenses, 'type').join(', ') %> */\n";

var sources = {
scripts: ['Gruntfile.js', 'the-*/*.js', 'the-*/*.html'],
scripts: ['Gruntfile.js', 'the-*/*.js', 'the-*/*.html', 'index.js'],
// elements: ['the-*/*.html'],
stylus: ['themes/*/*.styl'],
css: ['themes/*.css'],
Expand Down Expand Up @@ -88,7 +88,7 @@
watch: {
scripts: {
files: sources.scripts,
tasks: ['jshint:force'],
tasks: ['jshint:force', 'browserify:libs'],
options: {
livereload: true
}
Expand Down

0 comments on commit 2d21420

Please sign in to comment.