Skip to content

Commit

Permalink
bump browserify/watching and set limit of 5 parcels simultainiously p…
Browse files Browse the repository at this point in the history
…rocessing
  • Loading branch information
dgbeck committed Jun 2, 2015
1 parent bd8878c commit d099c74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Cartero.prototype.processParcels = function( callback ) {
} );

var mainsThatWereAdded = _.difference( newMains, oldMains );
async.each( mainsThatWereAdded, function( thisMain, nextMain ) {
async.eachLimit( mainsThatWereAdded, 5, function( thisMain, nextMain ) {
_this.processMain( thisMain, nextMain );
}, function( err ) {
if( err ) _this.emit( 'error', err );
Expand Down Expand Up @@ -229,7 +229,7 @@ Cartero.prototype.processMain = function( mainPath, callback ) {
var appTransformsApplyToThisDir = ! needToBackup && relPath.indexOf( 'node_modules' ) === -1;
return appTransformsApplyToThisDir;
} );

if( pkgIsInAppTransformsDir ) {
if( ! pkg.browserify ) pkg.browserify = {};
if( ! pkg.browserify.transform ) pkg.browserify.transform = [];
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"async": "~0.2.10",
"browserify": "^9.0.6",
"browserify": "^10.1.3",
"concat-stream": "~1.4.4",
"glob": "~3.2.8",
"globwatcher": "~1.3.0",
Expand All @@ -54,6 +54,6 @@
"through": "~2.3.4",
"through2": "~0.4.1",
"underscore": "~1.4.4",
"watchify": "~3.2.1"
"watchify": "^3.2.1"
}
}

0 comments on commit d099c74

Please sign in to comment.