Skip to content

Commit

Permalink
Fixed gulpfile so that assets don't get removed before they are versi…
Browse files Browse the repository at this point in the history
…oned
  • Loading branch information
REBELinBLUE committed Aug 2, 2016
1 parent b6c69f8 commit 83de83e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Elixir(function(mix) {
'uploader.js',
'profile.js'
], 'public/js/app.js', 'resources/assets/js')
.copy(paths.bootstrap + '/fonts/bootstrap/**', 'public/fonts')
.copy(paths.admin_lte + '/bootstrap/fonts/**', 'public/fonts')
.copy(paths.fontawesome + '/fonts/**', 'public/fonts')
.copy(paths.ionicons + '/fonts/**', 'public/fonts')
.version([
Expand All @@ -107,11 +107,11 @@ Elixir(function(mix) {
'public/js/vendor.js'
])
.copy('public/fonts', 'public/build/fonts')
.remove([
'public/css',
'public/js',
'public/fonts'
//bower_path + '/localization.js' // removing this breaks watch
])
// .remove([
// 'public/css',
// 'public/js',
// 'public/fonts'
// //bower_path + '/localization.js' // removing this breaks watch
// ])
.lang();
});

0 comments on commit 83de83e

Please sign in to comment.