WIP towards boilerplate

This commit is contained in:
Matthew Arbesfeld
2014-07-25 15:17:21 -07:00
parent d2af5ea13b
commit 77fb55846b
2 changed files with 3 additions and 3 deletions

View File

@@ -50,6 +50,7 @@ var Builder = function (options) {
self.buildPath = path.join(path.dirname(self.outputPath),
'.build' + nonce + "." +
path.basename(self.outputPath));
console.log(self.buildPath);
files.rm_recursive(self.buildPath);
files.mkdir_p(self.buildPath, 0755);

View File

@@ -1786,9 +1786,8 @@ exports.bundle = function (options) {
});
// Server
var server = options.cachedServerTarget ||
makeServerTarget(app, clientTargets);
var server = options.cachedServerTarget || makeServerTarget(app, client);
server.clientTarget = client;
targets.server = server;
}