Browse files

FIXED - Hangs in production mode.

  • Loading branch information...
1 parent a39fce6 commit f438abb4eec8bc281248d90830a1793ffc4d0188 @glesperance committed Aug 6, 2012
Showing with 9 additions and 5 deletions.
  1. +8 −4 lib/client/client.js
  2. +1 −1 package.json
View
12 lib/client/client.js
@@ -635,10 +635,14 @@ exports.setup = function setup_client() {
, function (callback) {
async.parallel(
[ function (callback) {
- wrench.copyDirRecursive(
- path.join(__dirname, 'rocket-js')
- , path.join(client_build_js_dir_path, 'rocket')
- , callback);
+ if (buildClient)
+ wrench.copyDirRecursive(
+ path.join(__dirname, 'rocket-js')
+ , path.join(client_build_js_dir_path, 'rocket')
+ , callback);
+
+ else
+ callback(null);
}
, function (callback) {
View
2 package.json
@@ -2,7 +2,7 @@
"name": "rocket"
, "description": "The rapid development framework for node.js"
, "keywords": ["mvc", "model view controller", "comet","rapid development", "Rocket", "framework"]
-, "version": "0.5.3"
+, "version": "0.5.4"
, "homepage": "http://wavo.me"
, "repository":
{ "type" : "git"

0 comments on commit f438abb

Please sign in to comment.