Skip to content

Commit

Permalink
fix(build): fix templateCache generation on gulpfile (#1936) (#1942)
Browse files Browse the repository at this point in the history
Change execution order for gulp tasks 'transpile:client' and 'html' to fix the templateCache generation.

closes #1936
  • Loading branch information
ingoncalves authored and Awk34 committed Jun 1, 2016
1 parent 30bb316 commit 0286817
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/app/gulpfile.babel(gulp).js
Original file line number Diff line number Diff line change
Expand Up @@ -557,21 +557,24 @@ gulp.task('build', cb => {
'inject',
'wiredep:client',<% if(filters.ts) { %>
'typings',<% } %>
[
'transpile:client',
'transpile:server'
],
[
'build:images',
'copy:extras',
'copy:fonts',
'copy:assets',
'copy:server',
'transpile:server',
'build:client'
],
cb);
});

gulp.task('clean:dist', () => del([`${paths.dist}/!(.git*|.openshift|Procfile)**`], {dot: true}));

gulp.task('build:client', ['transpile:client', 'styles', 'html', 'constant', 'build:images'], () => {
gulp.task('build:client', ['styles', 'html', 'constant', 'build:images'], () => {
var manifest = gulp.src(`${paths.dist}/${clientPath}/assets/rev-manifest.json`);

var appFilter = plugins.filter('**/app.js', {restore: true});
Expand Down

0 comments on commit 0286817

Please sign in to comment.