mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Make deploy pretty also
Still pausing until we merge in the minification changes
This commit is contained in:
@@ -903,6 +903,7 @@ main.registerCommand({
|
||||
|
||||
main.registerCommand({
|
||||
name: 'deploy',
|
||||
pretty: true,
|
||||
minArgs: 1,
|
||||
maxArgs: 1,
|
||||
options: {
|
||||
|
||||
@@ -219,10 +219,10 @@ _.extend(exports, {
|
||||
|
||||
var bodyStreamLength = 0;
|
||||
if (bodyStream) {
|
||||
// XXX
|
||||
bodyStreamLength += 4000000;
|
||||
// XXX Horrible hack... we need the correct length estimate
|
||||
bodyStreamLength += 8000000;
|
||||
}
|
||||
// XXX
|
||||
// XXX A default non-zero resposne size; if much bigger we should provide an estimate
|
||||
var responseLength = 128 * 1024;
|
||||
|
||||
var totalProgress = { current: 0, end: bodyStreamLength + responseLength, done: false };
|
||||
|
||||
Reference in New Issue
Block a user