Skip to content

Commit

Permalink
fix(gulp): add inject:tsconfig to inject task
Browse files Browse the repository at this point in the history
remove now extraneous inject:tsconfig from serve (it already includes inject)

[skip ci]
  • Loading branch information
Awk34 committed Mar 10, 2016
1 parent 5228536 commit bb045c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/gulpfile.babel(gulp).js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ gulp.task('env:prod', () => {
********************/

gulp.task('inject', cb => {
runSequence(['inject:js', 'inject:css', 'inject:<%= styleExt %>'], cb);
runSequence(['inject:js', 'inject:css', 'inject:<%= styleExt %>'<% if(filters.ts) { %>, 'inject:tsconfig'<% } %>], cb);
});

gulp.task('inject:js', () => {
Expand Down Expand Up @@ -420,7 +420,7 @@ gulp.task('watch', () => {

gulp.task('serve', cb => {
runSequence(['clean:tmp', 'constant'<% if(filters.ts) { %>, 'tsd'<% } %>],
['lint:scripts', 'inject'<% if(filters.jade) { %>, 'jade'<% } %><% if(filters.ts) { %>, 'inject:tsconfig'<% } %>],
['lint:scripts', 'inject'<% if(filters.jade) { %>, 'jade'<% } %>],
['wiredep:client'],
['transpile:client', 'styles'],
['start:server', 'start:client'],
Expand Down

0 comments on commit bb045c5

Please sign in to comment.