fixes for runing on meteor

This commit is contained in:
ramiro 2017-03-21 14:52:02 -03:00
parent 447f967061
commit 3e0e1fda0c
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ var Blockchain = function(options) {
Blockchain.prototype.runCommand = function(cmd) {
console.log(("running: " + cmd.underline).green);
return shelljs.exec(cmd);
return shelljs.exec(cmd, {async:true});
};
Blockchain.prototype.run = function() {

View File

@ -48,7 +48,7 @@ var Embark = (function () {
var engine = new Engine({
env: options.env,
embarkConfig: 'embark.json'
embarkConfig: options.embarkConfig || 'embark.json'
});
engine.init();

View File

@ -14,7 +14,7 @@ Watch.prototype.start = function() {
var self = this;
// TODO: should come from the config object instead of reading the file
// directly
var embarkConfig = fs.readJSONSync("embark.json");
var embarkConfig = fs.readJSONSync('./../../../../../server/embark.json');
this.watchAssets(embarkConfig, function() {
self.logger.trace('ready to watch asset changes');