mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
call bower prune before calling bower install
This commit is contained in:
10
gulpfile.js
10
gulpfile.js
@@ -15,7 +15,13 @@ var SRC_DIR = 'src/main/app/';
|
||||
var TEMP_DIR = 'target/gulp/'
|
||||
var BUILD_DIR = 'target/classes/assets/';
|
||||
|
||||
gulp.task('bower', function() {
|
||||
gulp.task('bower_prune', function() {
|
||||
return bower({
|
||||
cmd : 'prune'
|
||||
});
|
||||
});
|
||||
|
||||
gulp.task('bower', ['bower_prune'], function() {
|
||||
return bower();
|
||||
});
|
||||
|
||||
@@ -101,7 +107,7 @@ gulp.task('serve', function() {
|
||||
connect.server({
|
||||
root : BUILD_DIR,
|
||||
port : 8082,
|
||||
livereload: true,
|
||||
livereload : true,
|
||||
middleware : function() {
|
||||
var rest = '^/rest/(.*)$ http://localhost:8083/rest/$1 [P]';
|
||||
var next = '^/next(.*)$ http://localhost:8083/next$1 [P]';
|
||||
|
||||
Reference in New Issue
Block a user