Skip to content

Commit

Permalink
Fix injecting for JS as well
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed Mar 29, 2016
1 parent d1511ed commit a60aa79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/gulp/templates/gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ gulp.task('scripts', () =>
showFiles: true
})))
.pipe(gulp.dest('.tmp/assets/javascript'))
.pipe($.if(!argv.prod, browserSync.stream()))
.pipe($.if(!argv.prod, browserSync.stream({match: '**/*.js'})))
);

// 'gulp inject:head' -- injects our style.css file into the head of our HTML
Expand Down

0 comments on commit a60aa79

Please sign in to comment.