Permalink
Browse files

ADDED - Feedback when building client side bundle

  • Loading branch information...
1 parent a18ed12 commit 781d9e28a0f5ba5a1a01a8b34ee5d1e32fb0bd83 @glesperance committed Jul 9, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 lib/client/client.js
View
@@ -13,6 +13,7 @@ var async = require('async')
, gzip = require('gzippo')
, requirejs = require('../vendors/r')
, rimraf = require('rimraf')
+ , util = require('util')
;
var asyncFs = require('../util/async_fs')
@@ -598,14 +599,18 @@ exports.setup = function setup_client() {
, function (_buildClient, callback) {
buildClient = _buildClient;
- if (buildClient)
+ if (buildClient) {
+ console.log('--- Building optimized client bundle. This may take several minutes.');
+ console.log('');
+
rimraf(client_build_dir_path, function (err) {
if (err && err.code === 'ENOENT')
callback(null);
else
callback(err);
});
-
+ }
+
else
callback(null);
}

0 comments on commit 781d9e2

Please sign in to comment.