Fix production build never completing

pull/6034/head
Berkeley Martinez 2015-12-31 17:53:16 -08:00
parent 1c6e761299
commit 9535ffd41c
1 changed files with 6 additions and 2 deletions

View File

@ -40,7 +40,7 @@ var Rx = require('rx'),
// lint
jsonlint = require('gulp-jsonlint'),
eslint = require('gulp-eslint'),
// unit-tests
tape = require('gulp-tape'),
tapSpec = require('tap-spec');
@ -481,7 +481,11 @@ function buildManifest() {
.pipe(gulp.dest('server/'));
}
var buildDependents = ['less', 'js', 'dependents', 'pack-watch-manifest'];
var buildDependents = ['less', 'js', 'dependents'];
if (__DEV__) {
buildDependents.push('pack-watch-manifest');
}
gulp.task('build-manifest', buildDependents, function() {
return buildManifest();